aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2003-01-10 11:02:31 +0000
committerKim F. Storm2003-01-10 11:02:31 +0000
commit8e9e520bd503dc3594070feedeb19ed6cea4610f (patch)
treedd4f8efd8fc258e5686965368a1fd31096bc17bd
parentadb266eff0b91f44706d593ec87b67253325fd32 (diff)
downloademacs-8e9e520bd503dc3594070feedeb19ed6cea4610f.tar.gz
emacs-8e9e520bd503dc3594070feedeb19ed6cea4610f.zip
Add docs for new networking functions.
-rw-r--r--etc/NEWS25
1 files changed, 18 insertions, 7 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 6a53dce1bc0..796dd7f938e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1500,19 +1500,30 @@ To test for the availability of a given feature, use featurep like this:
1500*** New function open-network-stream-nowait. 1500*** New function open-network-stream-nowait.
1501 1501
1502This function initiates a non-blocking connect and returns immediately 1502This function initiates a non-blocking connect and returns immediately
1503before the connection is established. The filter and sentinel 1503without waiting for the connection to be established. It takes the
1504functions can be specified as arguments to open-network-stream-nowait. 1504filter and sentinel functions as arguments; when the non-blocking
1505When the non-blocking connect completes, the sentinel is called with 1505connect completes, the sentinel is called with a status string
1506the status matching "open" or "failed". 1506matching "open" or "failed".
1507 1507
1508*** New function open-network-stream-server. 1508*** New function open-network-stream-server.
1509MORE INFO NEEDED HERE. 1509
1510This function creates a network server process for a TCP service.
1511When a client connects to the specified service, a new subprocess
1512is created to handle the new connection, and the sentinel function
1513is called for the new process.
1510 1514
1511*** New functions process-datagram-address and set-process-datagram-address. 1515*** New functions process-datagram-address and set-process-datagram-address.
1512MORE INFO NEEDED HERE. 1516
1517These functions are used with datagram-based network processes to get
1518and set the current address of the remote partner.
1513 1519
1514*** New function format-network-address. 1520*** New function format-network-address.
1515MORE INFO NEEDED HERE. 1521
1522This function reformats the lisp representation of a network address
1523to a printable string. For example, an IP address A.B.C.D and port
1524number P is represented as a five element vector [A B C D P], and the
1525printable string returned for this vector is "A.B.C.D:P". See the doc
1526string for other formatting options.
1516 1527
1517*** By default, the function process-contact still returns (HOST SERVICE) 1528*** By default, the function process-contact still returns (HOST SERVICE)
1518for a network process. Using the new optional KEY arg, the complete list 1529for a network process. Using the new optional KEY arg, the complete list