# HG changeset patch # User Kim F. Storm # Date 1016714509 0 # Node ID 434c70e973e85df70e9d67fd07726ffbd2beca02 # Parent 32fbb48c7bc60057961c797c17604652a5108333 Explain how to use featurep with make-network-process. Changed :datagram t to :type 'datagram for datagram connection. diff -r 32fbb48c7bc6 -r 434c70e973e8 etc/NEWS --- a/etc/NEWS Thu Mar 21 12:37:23 2002 +0000 +++ b/etc/NEWS Thu Mar 21 12:41:49 2002 +0000 @@ -692,11 +692,14 @@ 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.