You create a server by calling make-network-process
(see Network Processes) with :server t
. The server will listen for connection requests from clients. When it accepts a client connection request, that creates a new network connection, itself a process object, with the following parameters:
The server’s process buffer value is never used directly, but the log function can retrieve it and use it to log connections by inserting text there.
process-contact
keywords :host
, :service
, :remote
.
Copyright © 1990-1996, 1998-2019 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
https://www.gnu.org/software/emacs/manual/html_node/elisp/Network-Servers.html