An exception indicating that binding a socket failed.
More...
#import <OFBindFailedException.h>
List of all members.
Detailed Description
An exception indicating that binding a socket failed.
Member Function Documentation
- Returns:
- The errno from when the exception was created
- Returns:
- The host on which binding failed
- (id) initWithClass: |
|
(Class) |
class_ |
socket: |
|
(OFTCPSocket*) |
socket |
host: |
|
(OFString*) |
host |
port: |
|
(uint16_t) |
port | |
|
|
| | |
Initializes an already allocated bind failed exception.
- Parameters:
-
| class_ | The class of the object which caused the exception |
| socket | The socket which could not be bound |
| host | The host on which binding failed |
| port | The port on which binding failed |
- Returns:
- An initialized bind failed exception
+ (id) newWithClass: |
|
(Class) |
class_ |
socket: |
|
(OFTCPSocket*) |
socket |
host: |
|
(OFString*) |
host |
port: |
|
(uint16_t) |
port | |
|
|
| | |
- Parameters:
-
| class_ | The class of the object which caused the exception |
| socket | The socket which could not be bound |
| host | The host on which binding failed |
| port | The port on which binding failed |
- Returns:
- A new bind failed exception
- Returns:
- The port on which binding failed
- Returns:
- The socket which could not be bound
The documentation for this class was generated from the following files: