Public Member Functions | |
NetworkContentConnecter (const NetworkAddress &address) | |
virtual void | OnFailure () |
Callback for when the connection attempt failed. | |
virtual void | OnConnect (SOCKET s) |
Callback when the connection succeeded. |
Definition at line 686 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 696 of file network_content.cpp.
References ClientNetworkContentSocketHandler::isConnecting, ClientNetworkContentSocketHandler::OnConnect(), NetworkSocketHandler::Reopen(), and NetworkTCPSocketHandler::sock.