Go to the source code of this file.
◆ OFTCPSocketAsyncConnectBlock
typedef void(^ OFTCPSocketAsyncConnectBlock) (id exception) |
A block which is called when the socket connected.
- Deprecated
- Use OFTCPSocketConnectedHandler instead.
- Parameters
-
exception | An exception which occurred while connecting the socket or nil on success |
◆ OFTCPSocketConnectedHandler
typedef void(^ OFTCPSocketConnectedHandler) (OFTCPSocket *socket, OFString *host, uint16_t port, id exception) |
A handler which is called when the socket connected.
- Parameters
-
socket | The socket which connected |
host | The host connected to |
port | The port on the host connected to |
exception | An exception which occurred while connecting the socket or nil on success |