Stun Server  Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
stunutils.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool IsTransactionIdValid (StunTransactionId &transid)
 
HRESULT GetXorMappedAddress (uint8_t *pData, size_t size, StunTransactionId &transid, CSocketAddress *pAddr)
 
HRESULT GetMappedAddress (uint8_t *pData, size_t size, CSocketAddress *pAddr)
 

Function Documentation

HRESULT GetMappedAddress ( uint8_t *  pData,
size_t  size,
CSocketAddress pAddr 
)

Definition at line 33 of file stunutils.cpp.

HRESULT GetXorMappedAddress ( uint8_t *  pData,
size_t  size,
StunTransactionId transid,
CSocketAddress pAddr 
)

Definition at line 73 of file stunutils.cpp.

bool IsTransactionIdValid ( StunTransactionId transid)

Definition at line 26 of file stunutils.cpp.