18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef OF_HAVE_SOCKETS
# error No sockets available!
#endif
OF_ASSUME_NONNULL_BEGIN
/**
* @class OFAcceptFailedException \
* OFAcceptFailedException.h ObjFW/OFAcceptFailedException.h
*
* @brief An exception indicating that accepting a connection failed.
*/
@interface OFAcceptFailedException: OFException
{
id _socket;
int _errNo;
}
/**
* @brief The socket which could not accept a connection.
*/
@property (readonly, nonatomic) id socket;
|
|
|
|
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef OF_HAVE_SOCKETS
# error No sockets available!
#endif
OF_ASSUME_NONNULL_BEGIN
/**
* @class OFAcceptSocketFailedException \
* OFAcceptSocketFailedException.h ObjFW/OFAcceptSocketFailedException.h
*
* @brief An exception indicating that accepting a connection failed.
*/
@interface OFAcceptSocketFailedException: OFException
{
id _socket;
int _errNo;
OF_RESERVE_IVARS(OFAcceptSocketFailedException, 4)
}
/**
* @brief The socket which could not accept a connection.
*/
@property (readonly, nonatomic) id socket;
|