103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
return [OFString stringWithFormat:
@"An address could not be translated! " ERRFMT,
AT_ERRPARAM];
}
- (OFString*)host
{
OF_GETTER(_host, false)
}
- (OFTCPSocket*)socket
{
OF_GETTER(_socket, false)
}
- (int)errNo
{
#ifdef _WIN32
return of_wsaerr_to_errno(_errNo);
#else
|
|
|
|
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
return [OFString stringWithFormat:
@"An address could not be translated! " ERRFMT,
AT_ERRPARAM];
}
- (OFString*)host
{
OF_GETTER(_host, true)
}
- (OFTCPSocket*)socket
{
OF_GETTER(_socket, true)
}
- (int)errNo
{
#ifdef _WIN32
return of_wsaerr_to_errno(_errNo);
#else
|