diff options
| author | Kim F. Storm | 2003-01-10 11:02:31 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-01-10 11:02:31 +0000 |
| commit | 8e9e520bd503dc3594070feedeb19ed6cea4610f (patch) | |
| tree | dd4f8efd8fc258e5686965368a1fd31096bc17bd | |
| parent | adb266eff0b91f44706d593ec87b67253325fd32 (diff) | |
| download | emacs-8e9e520bd503dc3594070feedeb19ed6cea4610f.tar.gz emacs-8e9e520bd503dc3594070feedeb19ed6cea4610f.zip | |
Add docs for new networking functions.
| -rw-r--r-- | etc/NEWS | 25 |
1 files changed, 18 insertions, 7 deletions
| @@ -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 | ||
| 1502 | This function initiates a non-blocking connect and returns immediately | 1502 | This function initiates a non-blocking connect and returns immediately |
| 1503 | before the connection is established. The filter and sentinel | 1503 | without waiting for the connection to be established. It takes the |
| 1504 | functions can be specified as arguments to open-network-stream-nowait. | 1504 | filter and sentinel functions as arguments; when the non-blocking |
| 1505 | When the non-blocking connect completes, the sentinel is called with | 1505 | connect completes, the sentinel is called with a status string |
| 1506 | the status matching "open" or "failed". | 1506 | matching "open" or "failed". |
| 1507 | 1507 | ||
| 1508 | *** New function open-network-stream-server. | 1508 | *** New function open-network-stream-server. |
| 1509 | MORE INFO NEEDED HERE. | 1509 | |
| 1510 | This function creates a network server process for a TCP service. | ||
| 1511 | When a client connects to the specified service, a new subprocess | ||
| 1512 | is created to handle the new connection, and the sentinel function | ||
| 1513 | is 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. |
| 1512 | MORE INFO NEEDED HERE. | 1516 | |
| 1517 | These functions are used with datagram-based network processes to get | ||
| 1518 | and set the current address of the remote partner. | ||
| 1513 | 1519 | ||
| 1514 | *** New function format-network-address. | 1520 | *** New function format-network-address. |
| 1515 | MORE INFO NEEDED HERE. | 1521 | |
| 1522 | This function reformats the lisp representation of a network address | ||
| 1523 | to a printable string. For example, an IP address A.B.C.D and port | ||
| 1524 | number P is represented as a five element vector [A B C D P], and the | ||
| 1525 | printable string returned for this vector is "A.B.C.D:P". See the doc | ||
| 1526 | string 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) |
| 1518 | for a network process. Using the new optional KEY arg, the complete list | 1529 | for a network process. Using the new optional KEY arg, the complete list |