Returns the socket associated with an accepting handle.
comm
accepting-handle-socket accepting-handle => result
accepting-handle⇩ |
An accepting-handle. |
result⇩ |
A socket or nil . |
The function accepting-handle-socket
returns the socket associated with accepting-handle.
accepting-handle has to be an accepting handle, currently that means the result of accept-tcp-connections-creating-async-io-states.
result is the socket that was created by accept-tcp-connections-creating-async-io-states, but for a closed handle result is nil
.
The socket "belongs" to the handle, and cannot be used for communication by other code. You can use accessors like get-socket-address on it.
accepting-handle
accept-tcp-connections-creating-async-io-states
25 TCP and UDP socket communication and SSL
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:26