Go to the source code of this file.
◆ OFSPXSocketAsyncConnectBlock
| typedef void(^ OFSPXSocketAsyncConnectBlock) (id exception) |
A block which is called when the socket connected.
- Deprecated:
- Use OFSPXSocketConnectedHandler instead.
- Parameters
-
| exception | An exception which occurred while connecting the socket or nil on success |
◆ OFSPXSocketConnectedHandler
| typedef void(^ OFSPXSocketConnectedHandler) (OFSPXSocket *socket, uint32_t network, const unsigned char node[IPX_NODE_LEN], uint16_t port, id exception) |
A handler which is called when the socket connected.
- Parameters
-
| socket | The socket which connected |
| network | The network of the node the socket connected to |
| node | The node the socket connected to |
| port | The port of the node to which the socket connected |
| exception | An exception which occurred while connecting the socket or nil on success |