DDraceNetwork Documentation
Loading...
Searching...
No Matches
CStun Class Reference

#include <network.h>

Collaboration diagram for CStun:
[legend]

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]

Constructor & Destructor Documentation

◆ CStun()

CStun::CStun ( NETSOCKET Socket)

Member Function Documentation

◆ FeedStunServer()

void CStun::FeedStunServer ( NETADDR StunServer)

◆ GetConnectivity()

CONNECTIVITY CStun::GetConnectivity ( int NetType,
NETADDR * pGlobalAddr )

◆ OnPacket()

bool CStun::OnPacket ( NETADDR Addr,
unsigned char * pData,
int DataSize )

◆ Refresh()

void CStun::Refresh ( )

◆ Update()

void CStun::Update ( )

Member Data Documentation

◆ m_aProtocols

CProtocol CStun::m_aProtocols[2]
private

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