PTLib  Version 2.10.4
PSTUNUDPSocket Class Reference

UDP socket that has been created by the STUN client. More...

#include <pstun.h>

Inheritance diagram for PSTUNUDPSocket:
PUDPSocket PIPDatagramSocket PIPSocket PSocket PChannel PObject

List of all members.

Public Member Functions

 PSTUNUDPSocket ()
virtual PBoolean GetLocalAddress (Address &addr)
virtual PBoolean GetLocalAddress (Address &addr, WORD &port)

Protected Attributes

PIPSocket::Address externalIP

Detailed Description

UDP socket that has been created by the STUN client.


Constructor & Destructor Documentation


Member Function Documentation

virtual PBoolean PSTUNUDPSocket::GetLocalAddress ( Address addr) [virtual]
Parameters:
addrVariable to receive hosts IP address

Reimplemented from PIPSocket.

virtual PBoolean PSTUNUDPSocket::GetLocalAddress ( Address addr,
WORD &  port 
) [virtual]
Parameters:
addrVariable to receive peer hosts IP address
portVariable to receive peer hosts port number

Reimplemented from PIPSocket.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines