ObjFW
|
#import "OFStreamSocket.h"
#import "socket.h"
Go to the source code of this file.
Classes | |
class | OFTCPSocket |
A class which provides functions to create and use TCP sockets. More... | |
Typedefs | |
typedef void(^ | of_tcp_socket_async_connect_block_t) (OFTCPSocket *socket, OFException *OF_NULLABLE exception) |
A block which is called when the socket connected. More... | |
typedef bool(^ | of_tcp_socket_async_accept_block_t) (OFTCPSocket *socket, OFTCPSocket *acceptedSocket, OFException *OF_NULLABLE exception) |
A block which is called when the socket accepted a connection. More... | |
typedef bool(^ of_tcp_socket_async_accept_block_t) (OFTCPSocket *socket, OFTCPSocket *acceptedSocket, OFException *OF_NULLABLE exception) |
A block which is called when the socket accepted a connection.
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 |
typedef void(^ of_tcp_socket_async_connect_block_t) (OFTCPSocket *socket, OFException *OF_NULLABLE exception) |
A block which is called when the socket connected.
socket | The socket which connected |
exception | An exception which occurred while connecting the socket or nil on success |