22#ifndef OF_HAVE_SOCKETS
23# error No sockets available!
26OF_ASSUME_NONNULL_BEGIN
44@property (readonly, nonatomic)
id socket;
49@property (readonly, nonatomic)
int errNo;
51+ (instancetype)exception OF_UNAVAILABLE;
60+ (instancetype)exceptionWithSocket: (
id)socket errNo: (
int)errNo;
62- (instancetype)init OF_UNAVAILABLE;
71- (instancetype)initWithSocket: (
id)socket
72 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
An exception indicating that accepting a connection failed.
Definition OFAcceptSocketFailedException.h:35
The base class for all exceptions in ObjFW.
Definition OFException.h:157