All Manuals > LispWorks® User Guide and Reference Manual > 32 The COMM Package

socket-error Condition Class

Summary

The condition class for socket errors.

Package

comm

Superclasses

simple-error

Subclasses

socket-create-error
socket-connect-error
socket-io-error
ssl-condition

Readers

socket-error-code
socket-error-connection

Description

Instances of the condition class socket-error are signaled to indicate some error associated with socket operations. Specific errors are specified by subclasses of socket-error.

Once they are connected, sockets are normally associated with a connection object, which is either a socket-stream or a async-io-state. The reader socket-error-connection can be used to get the connection object. Note that errors may arise before the connection object is created, in which case socket-error-connection will return nil.

If an error is associated with a operating system error code, the reader socket-error-code can be used to get it. In other errors, it returns nil.

See also

25 TCP and UDP socket communication and SSL


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:26