Generic-function: SB-BSD-SOCKETS:SOCKET-MAKE-STREAM

package type

Find or create a STREAM that can be used for IO on SOCKET (which must be connected). Specify whether the stream is for INPUT, OUTPUT, or both (it is an error to specify neither).

ELEMENT-TYPE and EXTERNAL-FORMAT are as per OPEN.

TIMEOUT specifies a read timeout for the stream.

Lambda list

(sb-bsd-sockets:socket &key sb-bsd-sockets::input sb-bsd-sockets::output
 sb-bsd-sockets::element-type sb-bsd-sockets::external-format sb-bsd-sockets::buffering
 sb-bsd-sockets::timeout sb-bsd-sockets::auto-close sb-bsd-sockets::serve-events)