Differences From Artifact [55f8a4342c]:
- File src/OFRunLoop+Private.h — part of check-in [3501205f07] at 2018-12-18 17:10:58 on branch trunk — Slightly decrease binary size (user: js, size: 4181) [annotate] [blame] [check-ins using]
To Artifact [ce02ac66ef]:
- File
src/OFRunLoop+Private.h
— 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: 4163) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
105 106 107 108 109 110 111 | block: (nullable of_udp_socket_async_receive_block_t) block # endif delegate: (nullable id <OFUDPSocketDelegate>) delegate; + (void)of_addAsyncSendForUDPSocket: (OFUDPSocket *)socket | < | | | > | 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | block: (nullable of_udp_socket_async_receive_block_t) block # endif delegate: (nullable id <OFUDPSocketDelegate>) delegate; + (void)of_addAsyncSendForUDPSocket: (OFUDPSocket *)socket data: (OFData *)data receiver: (const of_socket_address_t *)receiver mode: (of_run_loop_mode_t)mode # ifdef OF_HAVE_BLOCKS block: (nullable of_udp_socket_async_send_data_block_t) block # endif delegate: (nullable id <OFUDPSocketDelegate>) delegate; + (void)of_cancelAsyncRequestsForObject: (id)object mode: (of_run_loop_mode_t)mode; #endif - (void)of_removeTimer: (OFTimer *)timer forMode: (of_run_loop_mode_t)mode; @end OF_ASSUME_NONNULL_END |