PTLib
Version 2.12.9
|
UDP socket that has been created by the STUN client. More...
#include <pstun.h>
Public Member Functions | |
PSTUNUDPSocket () | |
bool | OpenSTUN (PSTUNClient &client) |
PNatCandidate | GetCandidateInfo () |
bool | BaseWriteTo (const void *buf, PINDEX len, const PIPSocketAddressAndPort &ap) |
bool | BaseReadFrom (void *buf, PINDEX len, PIPSocketAddressAndPort &ap) |
Protected Member Functions | |
bool | InternalGetLocalAddress (PIPSocketAddressAndPort &addr) |
bool | InternalGetBaseAddress (PIPSocketAddressAndPort &addr) |
Protected Attributes | |
PIPSocketAddressAndPort | m_serverReflexiveAddress |
PIPSocketAddressAndPort | m_baseAddressAndPort |
UDP socket that has been created by the STUN client.
PSTUNUDPSocket::PSTUNUDPSocket | ( | ) |
|
inline |
References PIPDatagramSocket::InternalReadFrom().
|
inline |
References PIPDatagramSocket::InternalWriteTo().
PNatCandidate PSTUNUDPSocket::GetCandidateInfo | ( | ) |
|
protected |
|
protected |
bool PSTUNUDPSocket::OpenSTUN | ( | PSTUNClient & | client | ) |
|
protected |
|
protected |