TCPClientConnecter Class Reference

Non blocking connection create to actually connect to servers. More...

Inheritance diagram for TCPClientConnecter:
TCPConnecter

Public Member Functions

 TCPClientConnecter (const NetworkAddress &address)
virtual void OnFailure ()
 Callback for when the connection attempt failed.
virtual void OnConnect (SOCKET s)
 Callback when the connection succeeded.

Detailed Description

Non blocking connection create to actually connect to servers.

Definition at line 640 of file network.cpp.


Member Function Documentation

virtual void TCPClientConnecter::OnConnect ( SOCKET  s  )  [inline, virtual]

Callback when the connection succeeded.

Parameters:
s the socket that we opened

Reimplemented from TCPConnecter.

Definition at line 649 of file network.cpp.

References IConsoleCmdExec(), and NetworkClient_Connected().


The documentation for this class was generated from the following file:

Generated on Fri Jun 3 05:20:33 2011 for OpenTTD by  doxygen 1.6.1