The class of error signaled while trying to create a socket.
comm
Instances of the condition class socket-create-error
are signaled when an error occurs while trying to create a socket. "Create" here means all the processing that is local and should work even if the intended peer is not available. For a TCP client socket and a connected UDP socket, that includes all processing until (but not including) the call to connect
. For a TCP server, that includes all the processing of the listening socket. For an unconnected UDP socket, that includes all processing before sending and receiving.
You can call socket-error-code to get the code associated with the error, either a value of errno
on Unix-like systems or a Windows error code on Windows. This may be useful for deciding programmatically what to do.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:26