18 OF_ASSUME_NONNULL_BEGIN
31 id _Nullable _exception;
33 OF_SOCKS5_STATE_SEND_AUTHENTICATION = 1,
34 OF_SOCKS5_STATE_READ_VERSION,
35 OF_SOCKS5_STATE_SEND_REQUEST,
36 OF_SOCKS5_STATE_READ_RESPONSE,
37 OF_SOCKS5_STATE_READ_ADDRESS,
38 OF_SOCKS5_STATE_READ_ADDRESS_LENGTH,
41 unsigned char _buffer[257];
void(^ of_tcp_socket_async_connect_block_t)(id _Nullable exception)
A block which is called when the socket connected.
Definition: OFTCPSocket.h:33
struct objc_object * id
A pointer to any object.
Definition: ObjFWRT.h:90
A class for storing and manipulating arbitrary data in an array.
Definition: OFMutableData.h:29
The root class for all other classes inside ObjFW.
Definition: OFObject.h:520
A class for handling strings.
Definition: OFString.h:132
A class which provides methods to create and use TCP sockets.
Definition: OFTCPSocket.h:67
Definition: OFTCPSocket.h:41