20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#endif
#import "OFSocket.h"
OF_ASSUME_NONNULL_BEGIN
/**
* @class OFConnectionFailedException \
* OFConnectionFailedException.h ObjFW/OFConnectionFailedException.h
*
* @brief An exception indicating that a connection could not be established.
*/
@interface OFConnectionFailedException: OFException
{
OFString *_Nullable _host;
uint16_t _port;
OFString *_Nullable _path;
uint32_t _network;
unsigned char _node[IPX_NODE_LEN];
id _socket;
int _errNo;
OF_RESERVE_IVARS(OFConnectionFailedException, 4)
}
/**
* @brief The host to which the connection failed.
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *host;
|
|
|
>
|
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#endif
#import "OFSocket.h"
OF_ASSUME_NONNULL_BEGIN
/**
* @class OFConnectSocketFailedException \
* OFConnectSocketFailedException.h \
* ObjFW/OFConnectSocketFailedException.h
*
* @brief An exception indicating that a connection could not be established.
*/
@interface OFConnectSocketFailedException: OFException
{
OFString *_Nullable _host;
uint16_t _port;
OFString *_Nullable _path;
uint32_t _network;
unsigned char _node[IPX_NODE_LEN];
id _socket;
int _errNo;
OF_RESERVE_IVARS(OFConnectSocketFailedException, 4)
}
/**
* @brief The host to which the connection failed.
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *host;
|