|
ObjFW
|
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(^ | OFTCPSocketAsyncConnectBlock) (id exception) |
| A block which is called when the socket connected. | |
| typedef void(^ | OFTCPSocketConnectedHandler) (OFTCPSocket *socket, OFString *host, uint16_t port, id exception) |
| A handler which is called when the socket connected. | |
| typedef void(^ OFTCPSocketAsyncConnectBlock) (id exception) |
A block which is called when the socket connected.
| exception | An exception which occurred while connecting the socket or nil on success |
| typedef void(^ OFTCPSocketConnectedHandler) (OFTCPSocket *socket, OFString *host, uint16_t port, id exception) |
A handler which is called when the socket connected.
| 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 |