ObjFW
Classes | Typedefs
OFTCPSocket.h File Reference
#import "OFStreamSocket.h"
#import "OFRunLoop.h"
Include dependency graph for OFTCPSocket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  <OFTCPSocketDelegate>
 
class  OFTCPSocket
 A class which provides methods to create and use TCP sockets. More...
 

Typedefs

typedef void(^ of_tcp_socket_async_connect_block_t) (id _Nullable exception)
 A block which is called when the socket connected. More...
 

Typedef Documentation

◆ of_tcp_socket_async_connect_block_t

typedef void(^ of_tcp_socket_async_connect_block_t) (id _Nullable exception)

A block which is called when the socket connected.

Parameters
exceptionAn exception which occurred while connecting the socket or nil on success