Stun Server
Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
|
#include <messagehandler.h>
Static Public Member Functions | |
static HRESULT | ProcessRequest (const StunMessageIn &msgIn, StunMessageOut &msgOut, TransportAddressSet *pAddressSet, IStunAuth *pAuth) |
Private Member Functions | |
CStunRequestHandler () | |
HRESULT | ProcessBindingRequest () |
void | BuildErrorResponse () |
HRESULT | ValidateAuth () |
HRESULT | ProcessRequestImpl () |
bool | HasAddress (SocketRole role) |
bool | IsIPAddressZeroOrInvalid (SocketRole role) |
Private Attributes | |
IStunAuth * | _pAuth |
TransportAddressSet * | _pAddrSet |
const StunMessageIn * | _pMsgIn |
StunMessageOut * | _pMsgOut |
StunMessageIntegrity | _integrity |
StunErrorCode | _error |
bool | _fRequestHasResponsePort |
StunTransactionId | _transid |
bool | _fLegacyMode |
Definition at line 75 of file messagehandler.h.
|
private |
Definition at line 24 of file messagehandler.cpp.
|
private |
Definition at line 159 of file messagehandler.cpp.
|
private |
Definition at line 455 of file messagehandler.cpp.
|
private |
Definition at line 460 of file messagehandler.cpp.
|
private |
Definition at line 202 of file messagehandler.cpp.
|
static |
Definition at line 39 of file messagehandler.cpp.
|
private |
Definition at line 77 of file messagehandler.cpp.
|
private |
Definition at line 366 of file messagehandler.cpp.
|
private |
Definition at line 96 of file messagehandler.h.
|
private |
Definition at line 100 of file messagehandler.h.
|
private |
Definition at line 98 of file messagehandler.h.
|
private |
Definition at line 95 of file messagehandler.h.
|
private |
Definition at line 90 of file messagehandler.h.
|
private |
Definition at line 89 of file messagehandler.h.
|
private |
Definition at line 91 of file messagehandler.h.
|
private |
Definition at line 92 of file messagehandler.h.
|
private |
Definition at line 99 of file messagehandler.h.