#import "OFStreamSocket.h"
#import "socket.h"
Go to the source code of this file.
◆ of_tcp_socket_async_accept_block_t
A block which is called when the socket accepted a connection.
- Parameters
-
socket | The socket which accepted the connection |
acceptedSocket | The socket which has been accepted |
exception | An exception which occurred while accepting the socket or nil on success |
- Returns
- A bool whether the same block should be used for the next incoming connection
◆ of_tcp_socket_async_connect_block_t
A block which is called when the socket connected.
- Parameters
-
socket | The socket which connected |
exception | An exception which occurred while connecting the socket or nil on success |