Index: src/OFDatagramSocket.h ================================================================== --- src/OFDatagramSocket.h +++ src/OFDatagramSocket.h @@ -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 @@ -263,11 +265,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 */ - (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 Index: src/OFSPXSocket.h ================================================================== --- src/OFSPXSocket.h +++ src/OFSPXSocket.h @@ -113,11 +113,12 @@ * * @param network The network on which the node to connect to is * @param node The node to connect to * @param port The port (sometimes also called socket number) on the node to * connect to - * @param runLoopMode The run loop mode in which to perform the async connect + * @param runLoopMode The run loop mode in which to perform the asynchronous + * connect */ - (void)asyncConnectToNetwork: (uint32_t)network node: (const unsigned char [_Nonnull IPX_NODE_LEN])node port: (uint16_t)port runLoopMode: (OFRunLoopMode)runLoopMode; @@ -142,11 +143,12 @@ * * @param node The node to connect to * @param network The network on which the node to connect to is * @param port The port (sometimes also called socket number) on the node to * connect to - * @param runLoopMode The run loop mode in which to perform the async connect + * @param runLoopMode The run loop mode in which to perform the asynchronous + * connect * @param block The block to execute once the connection has been established */ - (void)asyncConnectToNetwork: (uint32_t)network node: (const unsigned char [_Nonnull IPX_NODE_LEN])node port: (uint16_t)port Index: src/OFSPXStreamSocket.h ================================================================== --- src/OFSPXStreamSocket.h +++ src/OFSPXStreamSocket.h @@ -116,11 +116,12 @@ * * @param network The network on which the node to connect to is * @param node The node to connect to * @param port The port (sometimes also called socket number) on the node to * connect to - * @param runLoopMode The run loop mode in which to perform the async connect + * @param runLoopMode The run loop mode in which to perform the asynchronous + * connect */ - (void)asyncConnectToNetwork: (uint32_t)network node: (const unsigned char [_Nonnull IPX_NODE_LEN])node port: (uint16_t)port runLoopMode: (OFRunLoopMode)runLoopMode; @@ -147,11 +148,12 @@ * * @param network The network on which the node to connect to is * @param node The node to connect to * @param port The port (sometimes also called socket number) on the node to * connect to - * @param runLoopMode The run loop mode in which to perform the async connect + * @param runLoopMode The run loop mode in which to perform the asynchronous + * connect * @param block The block to execute once the connection has been established */ - (void)asyncConnectToNetwork: (uint32_t)network node: (const unsigned char [_Nonnull IPX_NODE_LEN])node port: (uint16_t)port Index: src/OFSequencedPacketSocket.h ================================================================== --- src/OFSequencedPacketSocket.h +++ src/OFSequencedPacketSocket.h @@ -207,11 +207,12 @@ * * If the buffer is too small, the receive operation fails. * * @param buffer The buffer to write the packet 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; @@ -240,11 +241,12 @@ * * If the buffer is too small, the receive operation fails. * * @param buffer The buffer to write the packet 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 packet has been received. If the * block returns true, it will be called again with the same * buffer and maximum length when more packets have been received. * If you want the next method in the queue to handle the packet * received next, you need to return false from the method. @@ -274,11 +276,12 @@ /** * @brief Asynchronously sends the specified packet. * * @param data The data to send as a packet - * @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 runLoopMode: (OFRunLoopMode)runLoopMode; #ifdef OF_HAVE_BLOCKS /** @@ -294,11 +297,12 @@ /** * @brief Asynchronously sends the specified packet. * * @param data The data to send as a packet - * @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 @@ -338,11 +342,12 @@ - (void)asyncAccept; /** * @brief Asynchronously accept an incoming connection. * - * @param runLoopMode The run loop mode in which to perform the async accept + * @param runLoopMode The run loop mode in which to perform the asynchronous + * accept */ - (void)asyncAcceptWithRunLoopMode: (OFRunLoopMode)runLoopMode; #ifdef OF_HAVE_BLOCKS /** @@ -355,11 +360,12 @@ - (void)asyncAcceptWithBlock: (OFSequencedPacketSocketAsyncAcceptBlock)block; /** * @brief Asynchronously accept an incoming connection. * - * @param runLoopMode The run loop mode in which to perform the async accept + * @param runLoopMode The run loop mode in which to perform the asynchronous + * accept * @param block The block to execute when a new connection has been accepted. * Returns whether the next incoming connection should be accepted * by the specified block as well. */ - (void) Index: src/OFTCPSocket.h ================================================================== --- src/OFTCPSocket.h +++ src/OFTCPSocket.h @@ -172,11 +172,12 @@ /** * @brief Asynchronously connects the OFTCPSocket to the specified destination. * * @param host The host to connect to * @param port The port on the host to connect to - * @param runLoopMode The run loop mode in which to perform the async connect + * @param runLoopMode The run loop mode in which to perform the asynchronous + * connect */ - (void)asyncConnectToHost: (OFString *)host port: (uint16_t)port runLoopMode: (OFRunLoopMode)runLoopMode; @@ -195,11 +196,12 @@ /** * @brief Asynchronously connects the OFTCPSocket to the specified destination. * * @param host The host to connect to * @param port The port on the host to connect to - * @param runLoopMode The run loop mode in which to perform the async connect + * @param runLoopMode The run loop mode in which to perform the asynchronous + * connect * @param block The block to execute once the connection has been established */ - (void)asyncConnectToHost: (OFString *)host port: (uint16_t)port runLoopMode: (OFRunLoopMode)runLoopMode