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

Go to the source code of this file.

Enumerations

enum  SocketRole { RolePP =0, RolePA =1, RoleAP =2, RoleAA =3 }
 

Functions

bool IsValidSocketRole (SocketRole sr)
 
SocketRole SocketRoleSwapPort (SocketRole sr)
 
SocketRole SocketRoleSwapIP (SocketRole sr)
 

Enumeration Type Documentation

enum SocketRole
Enumerator
RolePP 
RolePA 
RoleAP 
RoleAA 

Definition at line 22 of file socketrole.h.

Function Documentation

bool IsValidSocketRole ( SocketRole  sr)
inline

Definition at line 31 of file socketrole.h.

SocketRole SocketRoleSwapIP ( SocketRole  sr)
inline

Definition at line 41 of file socketrole.h.

SocketRole SocketRoleSwapPort ( SocketRole  sr)
inline

Definition at line 36 of file socketrole.h.