Next: , Previous: Socket Accessors, Up: Sockets


2.2.4 Socket Predicates

— Generic Function: sockets:socket-open-p socket

Returns a boolean indicating whether or not the file descriptor of socket is open.

— Generic Function: sockets:socket-connected-p socket

Returns a boolean specifying whether or not socket is connected.

— Function: sockets:socket-ipv6-p socket

Return t if socket is an AF_INET6 socket.