Differences From Artifact [353f4118f9]:
- File src/socket.m — part of check-in [7f83956d3e] at 2020-01-16 01:23:36 on branch trunk — Fix compilation on MorphOS (user: js, size: 17525) [annotate] [blame] [check-ins using] [more...]
To Artifact [41dfcc5d04]:
- File
src/socket.m
— part of check-in
[66c1192d94]
at
2020-04-18 10:10:54
on branch trunk
— socket.m: Remove a TODO
Supporting other styles of IPv4 is non-standard and is a BSD legacy. (user: js, size: 17463) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
342 343 344 345 346 347 348 |
return ret;
}
#endif
of_socket_address_t
of_socket_address_parse_ipv4(OFString *IPv4, uint16_t port)
{
| < < | 342 343 344 345 346 347 348 349 350 351 352 353 354 355 |
return ret;
}
#endif
of_socket_address_t
of_socket_address_parse_ipv4(OFString *IPv4, uint16_t port)
{
void *pool = objc_autoreleasePoolPush();
OFCharacterSet *whitespaceCharacterSet =
[OFCharacterSet whitespaceCharacterSet];
of_socket_address_t ret;
struct sockaddr_in *addrIn = &ret.sockaddr.in;
OFArray OF_GENERIC(OFString *) *components;
uint32_t addr;
|
| ︙ | ︙ |