PTLib
Version 2.14.3
|
UDP socket that has been created by the STUN client. More...
#include <pstun.h>
Public Member Functions | |
PSTUNUDPSocket (PNatMethod::Component component) | |
virtual const char * | GetNatName () const |
bool | OpenSTUN (PSTUNClient &client) |
virtual void | GetCandidateInfo (PNatCandidate &candidate) |
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) |
Protected Attributes | |
PIPSocketAddressAndPort | m_serverReflexiveAddress |
PIPSocketAddressAndPort | m_baseAddressAndPort |
UDP socket that has been created by the STUN client.
PSTUNUDPSocket::PSTUNUDPSocket | ( | PNatMethod::Component | component | ) |
|
inline |
References PUDPSocket::InternalReadFrom().
|
inline |
References PIPDatagramSocket::InternalWriteTo().
|
virtual |
Reimplemented in PTURNUDPSocket.
|
virtual |
Reimplemented in PTURNUDPSocket.
|
protected |
bool PSTUNUDPSocket::OpenSTUN | ( | PSTUNClient & | client | ) |
|
protected |
|
protected |