Differences From Artifact [073268c5ca]:
- File
src/OFUDPSocket.m
— part of check-in
[6e9ee122eb]
at
2018-10-07 02:06:46
on branch trunk
— Remove resolver.m
Instead, OFDNSResolver is used for everything now. (user: js, size: 12389) [annotate] [blame] [check-ins using]
To Artifact [11089b6c20]:
- File src/OFUDPSocket.m — part of check-in [0036c4c22e] at 2018-10-27 21:14:22 on branch trunk — Fix compilation with newer MinGW-w64 versions (user: js, size: 12394) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
236 237 238 239 240 241 242 | host = of_socket_address_ip_string(address, &port); @throw [OFBindFailedException exceptionWithHost: host port: port socket: self errNo: EAFNOSUPPORT]; } | | < > | 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | host = of_socket_address_ip_string(address, &port); @throw [OFBindFailedException exceptionWithHost: host port: port socket: self errNo: EAFNOSUPPORT]; } #else closesocket(_socket); _socket = INVALID_SOCKET; host = of_socket_address_ip_string(address, &port); @throw [OFBindFailedException exceptionWithHost: host port: port socket: self errNo: EADDRNOTAVAIL]; #endif } - (uint16_t)bindToHost: (OFString *)host port: (uint16_t)port { void *pool = objc_autoreleasePoolPush(); OFData *socketAddresses; |
︙ | ︙ |