Differences From Artifact [1e4bb48119]:
- File
src/OFUDPSocket.m
— part of check-in
[8f810ecb7e]
at
2018-08-11 14:00:46
on branch trunk
— Change the layout of of_socket_address_t
Instead of containing a struct sockaddr_storage - which does not exist
on all supported platforms - it now contains a union of all struct
sockaddr_* types.Additionally, if struct sockaddr_in6 does not exist, it is defined so
that an IPv6 can be stored even if the system does not support IPv6. (user: js, size: 14217) [annotate] [blame] [check-ins using]
To Artifact [22a70e2ff3]:
- File src/OFUDPSocket.m — part of check-in [9a494f183b] at 2018-08-11 21:53:19 on branch trunk — Fix build on 3DS and Wii (user: js, size: 14274) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
#endif
}
- (uint16_t)bindToHost: (OFString *)host
port: (uint16_t)port
{
of_resolver_result_t **results;
of_socket_address_t address;
results = of_resolve_host(host, port, SOCK_DGRAM);
@try {
#if SOCK_CLOEXEC == 0 && defined(HAVE_FCNTL) && defined(FD_CLOEXEC)
int flags;
#endif
| > > | 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
#endif
}
- (uint16_t)bindToHost: (OFString *)host
port: (uint16_t)port
{
of_resolver_result_t **results;
#if !defined(OF_WII) && !defined(OF_NINTENDO_3DS)
of_socket_address_t address;
#endif
results = of_resolve_host(host, port, SOCK_DGRAM);
@try {
#if SOCK_CLOEXEC == 0 && defined(HAVE_FCNTL) && defined(FD_CLOEXEC)
int flags;
#endif
|
| ︙ | ︙ |