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

Go to the source code of this file.

Classes

struct  StunClientLogicConfig
 
struct  StunClientResults
 
class  CStunClientLogic
 

Macros

#define FACILITY_STUN_CLIENT_LOGIC_ERR   0x101
 
#define E_STUNCLIENT_STILL_WAITING   ((HRESULT)0x81010001)
 
#define E_STUNCLIENT_RESULTS_READY   ((HRESULT)0x81010002)
 
#define E_STUNCLIENT_TIMEOUT   ((HRESULT)0x81010003)
 
#define E_STUNCLIENT_BUFFER_TOO_SMALL   ((HRESULT)0x81010004)
 

Enumerations

enum  NatBehavior {
  UnknownBehavior, DirectMapping, EndpointIndependentMapping, AddressDependentMapping,
  AddressAndPortDependentMapping
}
 
enum  NatFiltering {
  UnknownFiltering, DirectConnectionFiltering, EndpointIndependentFiltering, AddressDependentFiltering,
  AddressAndPortDependentFiltering
}
 

Macro Definition Documentation

#define E_STUNCLIENT_BUFFER_TOO_SMALL   ((HRESULT)0x81010004)

Definition at line 97 of file stunclientlogic.h.

#define E_STUNCLIENT_RESULTS_READY   ((HRESULT)0x81010002)

Definition at line 95 of file stunclientlogic.h.

#define E_STUNCLIENT_STILL_WAITING   ((HRESULT)0x81010001)

Definition at line 94 of file stunclientlogic.h.

#define E_STUNCLIENT_TIMEOUT   ((HRESULT)0x81010003)

Definition at line 96 of file stunclientlogic.h.

#define FACILITY_STUN_CLIENT_LOGIC_ERR   0x101

Definition at line 93 of file stunclientlogic.h.

Enumeration Type Documentation

Enumerator
UnknownBehavior 
DirectMapping 
EndpointIndependentMapping 
AddressDependentMapping 
AddressAndPortDependentMapping 

Definition at line 39 of file stunclientlogic.h.

Enumerator
UnknownFiltering 
DirectConnectionFiltering 
EndpointIndependentFiltering 
AddressDependentFiltering 
AddressAndPortDependentFiltering 

Definition at line 48 of file stunclientlogic.h.