Stun Server
Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
|
#include "commonincludes.hpp"
#include "stuntypes.h"
#include "socketaddress.h"
#include "buffer.h"
#include "datastream.h"
Go to the source code of this file.
Functions | |
bool | IsTransactionIdValid (StunTransactionId &transid) |
HRESULT | GetMappedAddress (uint8_t *pData, size_t size, CSocketAddress *pAddr) |
HRESULT | GetXorMappedAddress (uint8_t *pData, size_t size, StunTransactionId &transid, CSocketAddress *pAddr) |
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.