@@ -1,7 +1,7 @@ /* - * Copyright (c) 2008-2023 Jonathan Schleifer + * Copyright (c) 2008-2024 Jonathan Schleifer * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE.QPL included in @@ -185,11 +185,12 @@ * * If the buffer is too small, the datagram is truncated. * * @param buffer The buffer to write the datagram to * @param length The length of the buffer - * @param runLoopMode The run loop mode in which to perform the async receive + * @param runLoopMode The run loop mode in which to perform the asynchronous + * receive */ - (void)asyncReceiveIntoBuffer: (void *)buffer length: (size_t)length runLoopMode: (OFRunLoopMode)runLoopMode; @@ -219,11 +220,12 @@ * * If the buffer is too small, the datagram is truncated. * * @param buffer The buffer to write the datagram to * @param length The length of the buffer - * @param runLoopMode The run loop mode in which to perform the async receive + * @param runLoopMode The run loop mode in which to perform the asynchronous + * receive * @param block The block to call when the datagram has been received. If the * block returns true, it will be called again with the same * buffer and maximum length when more datagrams have been * received. If you want the next method in the queue to handle * the datagram received next, you need to return false from the @@ -261,13 +263,14 @@ /** * @brief Asynchronously sends the specified datagram to the specified address. * * @param data The data to send as a datagram - * @param receiver A pointer to an @ref OFSocketAddress to which the datgram + * @param receiver A pointer to an @ref OFSocketAddress to which the datagram * should be sent. The receiver is copied. - * @param runLoopMode The run loop mode in which to perform the async send + * @param runLoopMode The run loop mode in which to perform the asynchronous + * send */ - (void)asyncSendData: (OFData *)data receiver: (const OFSocketAddress *)receiver runLoopMode: (OFRunLoopMode)runLoopMode; @@ -290,11 +293,12 @@ * @brief Asynchronously sends the specified datagram to the specified address. * * @param data The data to send as a datagram * @param receiver A pointer to an @ref OFSocketAddress to which the datagram * should be sent. The receiver is copied. - * @param runLoopMode The run loop mode in which to perform the async send + * @param runLoopMode The run loop mode in which to perform the asynchronous + * send * @param block The block to call when the packet has been sent. It should * return the data for the next send with the same callback or nil * if it should not repeat. */ - (void)asyncSendData: (OFData *)data