Stun Server
Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
|
#include <stunclientlogic.h>
Public Member Functions | |
CStunClientLogic () | |
HRESULT | Initialize (StunClientLogicConfig &config) |
HRESULT | GetNextMessage (CRefCountedBuffer &spMsg, CSocketAddress *pAddrDest, uint32_t timeCurrentMilliseconds) |
HRESULT | ProcessResponse (CRefCountedBuffer &spMsg, CSocketAddress &addrRemote, CSocketAddress &addrLocal) |
HRESULT | GetResults (StunClientResults *pResults) |
Private Attributes | |
StunClientLogicConfig | _config |
StunClientResults | _results |
bool | _fInitialized |
uint32_t | _timeLastMessageSent |
uint32_t | _sendCount |
bool | _fPreCheckRunOnTest |
CBasicBindingTest | _test1 |
CBehaviorTest | _testBehavior2 |
CBehaviorTest | _testBehavior3 |
CFilteringTest | _testFiltering2 |
CFilteringTest | _testFiltering3 |
std::vector< IStunClientTest * > | _testlist |
size_t | _nTestIndex |
Definition at line 102 of file stunclientlogic.h.
CStunClientLogic::CStunClientLogic | ( | ) |
Definition at line 58 of file stunclientlogic.cpp.
HRESULT CStunClientLogic::GetNextMessage | ( | CRefCountedBuffer & | spMsg, |
CSocketAddress * | pAddrDest, | ||
uint32_t | timeCurrentMilliseconds | ||
) |
Definition at line 139 of file stunclientlogic.cpp.
HRESULT CStunClientLogic::GetResults | ( | StunClientResults * | pResults | ) |
Definition at line 241 of file stunclientlogic.cpp.
HRESULT CStunClientLogic::Initialize | ( | StunClientLogicConfig & | config | ) |
Definition at line 68 of file stunclientlogic.cpp.
HRESULT CStunClientLogic::ProcessResponse | ( | CRefCountedBuffer & | spMsg, |
CSocketAddress & | addrRemote, | ||
CSocketAddress & | addrLocal | ||
) |
Definition at line 219 of file stunclientlogic.cpp.
|
private |
Definition at line 106 of file stunclientlogic.h.
|
private |
Definition at line 109 of file stunclientlogic.h.
|
private |
Definition at line 113 of file stunclientlogic.h.
|
private |
Definition at line 122 of file stunclientlogic.h.
|
private |
Definition at line 107 of file stunclientlogic.h.
|
private |
Definition at line 112 of file stunclientlogic.h.
|
private |
Definition at line 115 of file stunclientlogic.h.
|
private |
Definition at line 116 of file stunclientlogic.h.
|
private |
Definition at line 117 of file stunclientlogic.h.
|
private |
Definition at line 118 of file stunclientlogic.h.
|
private |
Definition at line 119 of file stunclientlogic.h.
|
private |
Definition at line 121 of file stunclientlogic.h.
|
private |
Definition at line 111 of file stunclientlogic.h.