17 #import "OFException.h"
19 #ifndef OF_HAVE_SOCKETS
20 # error No sockets available!
35 #ifdef OF_HAVE_PROPERTIES
36 @property (readonly, retain)
id socket;
37 @property (readonly)
int backLog, errNo;
48 + (instancetype)exceptionWithSocket: (
id)socket
60 - initWithSocket: (
id)socket
The base class for all exceptions in ObjFW.
Definition: OFException.h:144
An exception indicating that listening on the socket failed.
Definition: OFListenFailedException.h:29