ObjFW  Diff

Differences From Artifact [2d7a3ab4ec]:

To Artifact [087ce7f471]:


243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
243
244
245
246
247
248
249






250
251
252
253
254
255
256







-
-
-
-
-
-







 */
- (void)sendBuffer: (const void*)buffer
	    length: (size_t)length
	  receiver: (const of_udp_socket_address_t*)receiver;

/*!
 * @brief Cancels all pending asynchronous requests on the socket.
 *
 * @warning You are not allowed to call this inside the handler of an
 *	    asynchronous request, as this would cancel the asynchronous request
 *	    that is currently being handled! To cancel all pending asynchronous
 *	    requests after the handler has finished executing, you may schedule
 *	    a timer for this method with a timeout of 0 from inside the handler.
 */
- (void)cancelAsyncRequests;

/*!
 * @brief Closes the socket so that it can neither receive nor send any more
 *	  datagrams.
 */