Stun Server  Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
StunClientResults Struct Reference

#include <stunclientlogic.h>

Collaboration diagram for StunClientResults:

Public Member Functions

 StunClientResults ()
 
void Init ()
 

Public Attributes

bool fBindingTestSuccess
 
bool fIsDirect
 
CSocketAddress addrLocal
 
CSocketAddress addrMapped
 
bool fHasOtherAddress
 
CSocketAddress addrPA
 
CSocketAddress addrAP
 
CSocketAddress addrAA
 
bool fBehaviorTestSuccess
 
NatBehavior behavior
 
CSocketAddress addrMappingAP
 
CSocketAddress addrMappingAA
 
bool fFilteringTestSuccess
 
NatFiltering filtering
 
bool fGotTest2Response
 
bool fGotTest3Response
 
uint32_t errorBitmask
 

Static Public Attributes

static const uint32_t SCR_TIMEOUT = 0x0001
 
static const uint32_t SCR_NO_OTHER = 0x0002
 

Detailed Description

Definition at line 57 of file stunclientlogic.h.

Constructor & Destructor Documentation

StunClientResults::StunClientResults ( )

Definition at line 28 of file stunclientlogic.cpp.

Member Function Documentation

void StunClientResults::Init ( )

Definition at line 33 of file stunclientlogic.cpp.

Member Data Documentation

CSocketAddress StunClientResults::addrAA

Definition at line 67 of file stunclientlogic.h.

CSocketAddress StunClientResults::addrAP

Definition at line 66 of file stunclientlogic.h.

CSocketAddress StunClientResults::addrLocal

Definition at line 62 of file stunclientlogic.h.

CSocketAddress StunClientResults::addrMapped

Definition at line 63 of file stunclientlogic.h.

CSocketAddress StunClientResults::addrMappingAA

Definition at line 74 of file stunclientlogic.h.

CSocketAddress StunClientResults::addrMappingAP

Definition at line 73 of file stunclientlogic.h.

CSocketAddress StunClientResults::addrPA

Definition at line 65 of file stunclientlogic.h.

NatBehavior StunClientResults::behavior

Definition at line 72 of file stunclientlogic.h.

uint32_t StunClientResults::errorBitmask

Definition at line 84 of file stunclientlogic.h.

bool StunClientResults::fBehaviorTestSuccess

Definition at line 71 of file stunclientlogic.h.

bool StunClientResults::fBindingTestSuccess

Definition at line 60 of file stunclientlogic.h.

bool StunClientResults::fFilteringTestSuccess

Definition at line 78 of file stunclientlogic.h.

bool StunClientResults::fGotTest2Response

Definition at line 80 of file stunclientlogic.h.

bool StunClientResults::fGotTest3Response

Definition at line 81 of file stunclientlogic.h.

bool StunClientResults::fHasOtherAddress

Definition at line 64 of file stunclientlogic.h.

NatFiltering StunClientResults::filtering

Definition at line 79 of file stunclientlogic.h.

bool StunClientResults::fIsDirect

Definition at line 61 of file stunclientlogic.h.

const uint32_t StunClientResults::SCR_NO_OTHER = 0x0002
static

Definition at line 86 of file stunclientlogic.h.

const uint32_t StunClientResults::SCR_TIMEOUT = 0x0001
static

Definition at line 85 of file stunclientlogic.h.


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