Connect to the content server. More...
Public Member Functions | |
| NetworkContentConnecter (const NetworkAddress &address) | |
| Initiate the connecting. | |
| virtual void | OnFailure () |
| Callback for when the connection attempt failed. | |
| virtual void | OnConnect (SOCKET s) |
| Callback when the connection succeeded. | |
Connect to the content server.
Definition at line 765 of file network_content.cpp.
| NetworkContentConnecter::NetworkContentConnecter | ( | const NetworkAddress & | address | ) | [inline] |
Initiate the connecting.
| address | The address of the server. |
Definition at line 771 of file network_content.cpp.
| virtual void NetworkContentConnecter::OnConnect | ( | SOCKET | s | ) | [inline, virtual] |
Callback when the connection succeeded.
| s | the socket that we opened |
Reimplemented from TCPConnecter.
Definition at line 779 of file network_content.cpp.
References ClientNetworkContentSocketHandler::isConnecting, NetworkSocketHandler::Reopen(), and NetworkTCPSocketHandler::sock.
1.7.1