From: Kim F. Storm Date: Thu, 21 Mar 2002 12:41:49 +0000 (+0000) Subject: Explain how to use featurep with make-network-process. X-Git-Tag: ttn-vms-21-2-B4~16040 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60a501d771ad9d088f6561de89489e592f71af3e;p=emacs.git Explain how to use featurep with make-network-process. Changed :datagram t to :type 'datagram for datagram connection. --- diff --git a/etc/NEWS b/etc/NEWS index 56f3d8c7b23..f7601029f39 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -692,11 +692,14 @@ opening of stream and datagram connections to a server, as well as create a stream or datagram server inside emacs. - A server is started using :server t arg. -- Datagram connection is selected using :datagram t arg. +- Datagram connection is selected using :type 'datagram arg. - A server can open on a random port using :service t arg. - Local sockets are supported using :family 'local arg. - Non-blocking connect is supported using :nowait t arg. +To test for the availability of a given feature, use featurep like this: + (featurep 'make-network-process '(:type datagram)) + *** Original open-network-stream is now emulated using make-network-process. *** New function open-network-stream-nowait.