Differences From Artifact [fd66b3751b]:
- File src/socket.m — part of check-in [23b09a2f41] at 2018-10-28 11:57:51 on branch trunk — Fix compilation on OpenIndiana (user: js, size: 14634) [annotate] [blame] [check-ins using]
To Artifact [b9d1cba50d]:
- File
src/socket.m
— part of check-in
[0f3ae90eef]
at
2018-12-18 21:17:28
on branch trunk
— Use OFData instead of a buffer for async UDP sends
This avoids the entire problem of keeping the buffer alive until the
send finished. (user: js, size: 14664) [annotate] [blame] [check-ins using]
︙ | |||
390 391 392 393 394 395 396 | 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 | - - + + - - + + | return of_socket_address_parse_ipv6(IP, port); } @catch (OFInvalidFormatException *e) { return of_socket_address_parse_ipv4(IP, port); } } bool |
︙ | |||
443 444 445 446 447 448 449 | 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 | - + | @throw [OFInvalidArgumentException exception]; } return true; } uint32_t |
︙ |