DDraceNetwork Docs
|
#include <network.h>
Classes | |
class | CProtocol |
Public Member Functions | |
CStun (NETSOCKET Socket) | |
void | FeedStunServer (NETADDR StunServer) |
void | Refresh () |
void | Update () |
bool | OnPacket (NETADDR Addr, unsigned char *pData, int DataSize) |
CONNECTIVITY | GetConnectivity (int NetType, NETADDR *pGlobalAddr) |
Private Attributes | |
CProtocol | m_aProtocols [2] |
CStun::CStun | ( | NETSOCKET | Socket | ) |
void CStun::FeedStunServer | ( | NETADDR | StunServer | ) |
CONNECTIVITY CStun::GetConnectivity | ( | int | NetType, |
NETADDR * | pGlobalAddr | ||
) |
bool CStun::OnPacket | ( | NETADDR | Addr, |
unsigned char * | pData, | ||
int | DataSize | ||
) |
void CStun::Refresh | ( | ) |
void CStun::Update | ( | ) |
|
private |