accept-tcp-socket

Function

Package:lcl

Submodule:tcp-sockets

Syntax:accept-tcp-socket socket sockaddr &optional auto-force

The socket argument is a socket number. The sockaddr argument is aninet-sockaddr foreign structure. The value of auto-force is the resultant stream property. The function returns two values: a Lisp stream and the address, as a string, of the host or socket connected.