Common Lisp Package: ACL-COMPAT.SOCKET

README:

FUNCTION

Public

DOTTED-TO-IPADDR (DOTTED &KEY (ERRORP T))

Convert from dotted string to 32-bit integer.

IPADDR-TO-DOTTED (IPADDR &KEY VALUES)

Convert from 32-bit integer to dotted string.

MAKE-SOCKET (&KEY (TYPE STREAM) (REMOTE-HOST localhost) LOCAL-PORT REMOTE-PORT (CONNECT ACTIVE) (FORMAT TEXT) (REUSE-ADDRESS T) &ALLOW-OTHER-KEYS)

Return a stream connected to remote-host if connect is :active, or something listening on local-port that can be fed to accept-connection if connect is :passive. This is an incomplete implementation of ACL's make-socket function! It was written to provide the functionality necessary to port AllegroServe. Refer to http://franz.com/support/documentation/6.1/doc/pages/operators/socket/make-socket.htm to read about the missing parts.

Undocumented

IPADDR-TO-HOSTNAME (IPADDR &KEY IGNORE-CACHE)

LOCAL-HOST (THING)

LOCAL-PORT (THING)

LOOKUP-HOSTNAME (HOST &KEY IGNORE-CACHE)

REMOTE-HOST (SOCKET-STREAM)

REMOTE-PORT (SOCKET-STREAM)

SOCKET-CONTROL (STREAM &KEY (OUTPUT-CHUNKING NIL OC-P) OUTPUT-CHUNKING-EOF (INPUT-CHUNKING NIL IC-P))

Private

IPADDR-TO-VECTOR (IPADDR)

Convert from 32-bit integer to a vector of octets.

VECTOR-TO-IPADDR (SENSIBLE-IPADDR)

Convert from 4-integer vector to 32-bit integer.

Undocumented

MAKE-BIVALENT-STREAM (LISP-STREAM &KEY PLIST)

STRING-TOKENS (STRING)

GENERIC-FUNCTION

Public

Undocumented

ACCEPT-CONNECTION (SOCKET &KEY WAIT (WAIT T))

Private

Undocumented

RECEIVE-FROM (SOCKET SIZE &KEY BUFFER EXTRACT)

SEND-TO (SOCKET BUFFER SIZE &KEY REMOTE-HOST REMOTE-PORT)

SLOT-ACCESSOR

Private

Undocumented

ELEMENT-TYPE (OBJECT)

PORT (OBJECT)

STREAM-PLIST (OBJECT)

SETFSTREAM-PLIST (NEW-VALUE OBJECT)

STREAM-TYPE (OBJECT)

CLASS

Private

Undocumented

CHUNKED-STREAM

DATAGRAM-SOCKET

SERVER-SOCKET