Accept a socket-stream connection.
Arguments and values
|passive-socket||A passive socket|
|wait|| A generalized boolean (default is |
|socket-stream||A socket stream|
A socket stream.
Accept a connection made to a newly created passive socket:
> (let* ((passive-socket (make-passive-socket 5555)) (connection (accept-connection passive-socket))) (close-passive-socket passive-socket) connection) #<socket stream connected from localhost/5555 to localhost/59946> >
Connections should always be closed using
The GBBopen Project