SICStus compatible socket library

YAP includes a SICStus Prolog compatible socket interface.

In YAP-6.3 this uses the clib package to emulate the old low level interface that provides direct access to the major socket system calls. These calls can be used both to open a new connection in the network or connect to a networked server. Socket connections are described as read/write streams, and standard Input/Output built-ins can be used to write on or read from sockets. The following calls are available:

see:
http://www.sics.se/sicstus/docs/3.7.1/html/sicstus_28.html