@@ -74,11 +74,11 @@ * @param sender The address of the sender of the packet * @param exception An exception that occurred while receiving, or nil on * success * @return A bool whether the same block should be used for the next receive */ -- (bool)socket: (OF_KINDOF(OFUDPSocket *))socket +- (bool)socket: (OFUDPSocket *)socket didReceiveIntoBuffer: (void *)buffer length: (size_t)length sender: (const of_socket_address_t *_Nonnull)sender exception: (nullable id)exception; @@ -89,11 +89,11 @@ * @param data The data which was sent * @param receiver The receiver for the UDP packet * @param exception An exception that occurred while sending, or nil on success * @return The data to repeat the send with or nil if it should not repeat */ -- (nullable OFData *)socket: (OF_KINDOF(OFUDPSocket *))socket +- (nullable OFData *)socket: (OFUDPSocket *)socket didSendData: (OFData *)data receiver: (const of_socket_address_t *_Nonnull)receiver exception: (nullable id)exception; @end