The net module implements primitive functions that allow communication with an slisp server program running on the same or a remote machine. The primitive functions utilize tcp as the basic communications protocol. The connection may be made from a separately compiled C program by including the library libnetseval.a, which is created in slisp/c from netseval.c. LISP primitives are defined by the functions in xnet.[ch], which call the routines in libsneteval.
In either case the basic method is to open a connection with a host that is running an slisp server on a specific port, to set the current socket to be the socket number returned by a successful connection, to send lisp expressions to the current socket for evaluation, then to close the connection.