@@ -30,11 +30,11 @@ * @brief An exception indicating that listening on the socket failed. */ @interface OFListenFailedException: OFException { id _socket; - int _backLog, _errNo; + int _backlog, _errNo; } /*! * @brief The socket which failed to listen. */ @@ -41,11 +41,11 @@ @property (readonly, nonatomic) id socket; /*! * @brief The requested back log. */ -@property (readonly, nonatomic) int backLog; +@property (readonly, nonatomic) int backlog; /*! * @brief The errno of the error that occurred. */ @property (readonly, nonatomic) int errNo; @@ -54,29 +54,29 @@ /*! * @brief Creates a new, autoreleased listen failed exception. * * @param socket The socket which failed to listen - * @param backLog The requested size of the back log + * @param backlog The requested size of the back log * @param errNo The errno of the error that occurred * @return A new, autoreleased listen failed exception */ + (instancetype)exceptionWithSocket: (id)socket - backLog: (int)backLog + backlog: (int)backlog errNo: (int)errNo; - (instancetype)init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated listen failed exception * * @param socket The socket which failed to listen - * @param backLog The requested size of the back log + * @param backlog The requested size of the back log * @param errNo The errno of the error that occurred * @return An initialized listen failed exception */ - (instancetype)initWithSocket: (id)socket - backLog: (int)backLog + backlog: (int)backlog errNo: (int)errNo OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END