KNetServer Class Reference

Inheritance diagram for KNetServer:
[legend]
Collaboration diagram for KNetServer:
[legend]
List of all members.

Public Member Functions

 KNetServer ()
bool Init ()
bool End ()
virtual void OnClientConnected (KUDPClientSocket *pSocket)
virtual void OnClientDisconnected (KUDPClientSocket *pSocket)
virtual bool Manage ()
virtual void OnBroadcast (KInetAddr &Addr, char *pBuffer, u32 Size)
virtual KUDPClientSocketAllocClientSocket ()
KLobbyConnectionGetLobbySocket ()
void SetShowStats (bool bShow)
bool IsShowStats ()
KInetAddrGetpInetAddr ()
const char * GetpHostName ()
u32 GetnByteSent ()
u32 GetnByteReceived ()
float GetSentRatio ()
float GetReceivedRatio ()

Protected Attributes

KLobbyConnectionm_pLobbySocket
KTIME m_LastStatsTime
bool m_bShowStats
KInetAddr m_pHostAddr
char m_pHostName [256]
u32 m_nByteSent
u32 m_nByteReceived
float m_SentRatio
float m_ReceivedRatio

Detailed Description

Definition at line 57 of file NetServer.h.


The documentation for this class was generated from the following files:
Generated on Sun Mar 25 20:02:38 2007 for Zythum Project by  doxygen 1.5.1-p1