Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
60a501d7
Commit
60a501d7
authored
Mar 21, 2002
by
Kim F. Storm
Browse files
Explain how to use featurep with make-network-process.
Changed :datagram t to :type 'datagram for datagram connection.
parent
41ad6233
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
etc/NEWS
etc/NEWS
+4
-1
No files found.
etc/NEWS
View file @
60a501d7
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment