Differences From Artifact [5111ebd364]:
- File
src/resolver.m
— part of check-in
[fb590316ba]
at
2014-01-30 12:26:12
on branch trunk
— Rename +[UDPSocket hostForAddress:port:]
It is now called +[getHost:andPort:forAddress:]. This makes it much
clearer from the selector alone what it actually does. (user: js, size: 7491) [annotate] [blame] [check-ins using]
To Artifact [028e90eddf]:
- File src/resolver.m — part of check-in [60cb25ab50] at 2014-01-31 13:07:27 on branch trunk — Minor fixes (missing ifdefs, etc.) (user: js, size: 7477) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
259 260 261 262 263 264 265 | *port = OF_BSWAP16_IF_LE( ((struct sockaddr_in*)(void*)address)->sin_port); # if OF_HAVE_THREADS if (!of_mutex_unlock(&mutex)) @throw [OFUnlockFailedException exception]; # endif | < < | 259 260 261 262 263 264 265 266 267 268 269 270 271 272 | *port = OF_BSWAP16_IF_LE( ((struct sockaddr_in*)(void*)address)->sin_port); # if OF_HAVE_THREADS if (!of_mutex_unlock(&mutex)) @throw [OFUnlockFailedException exception]; # endif #endif } void of_resolver_free(of_resolver_result_t **results) { #ifdef HAVE_THREADSAFE_GETADDRINFO |
︙ | ︙ |