Differences From Artifact [075dc3d4fd]:
- File
src/exceptions/OFAddressTranslationFailedException.m
— part of check-in
[3f74e4c5df]
at
2013-06-23 14:15:57
on branch trunk
— Improve OFAddressTranslationFailedException.
This adds +[exceptionWithHost:]. This is useful when a hostname is
resolved without a socket. (user: js, size: 2928) [annotate] [blame] [check-ins using]
To Artifact [c103e6dc5d]:
- File src/exceptions/OFAddressTranslationFailedException.m — part of check-in [e790f0e1f0] at 2013-07-05 16:54:02 on branch trunk — Map WSA error codes to standard error codes. (user: js, size: 2991) [annotate] [blame] [check-ins using]
| ︙ | |||
113 114 115 116 117 118 119 120 121 122 | 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | + + + + |
- (OFTCPSocket*)socket
{
OF_GETTER(_socket, false)
}
- (int)errNo
{
#ifdef _WIN32
return of_wsaerr_to_errno(_errNo);
#else
return _errNo;
#endif
}
@end
|