PSTUNUDPSocket Class Reference

#include <pstun.h>

Inheritance diagram for PSTUNUDPSocket:

PUDPSocket PIPDatagramSocket PIPSocket PSocket PChannel PObject

List of all members.

Public Member Functions

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

Protected Attributes

PIPSocket::Address externalIP

Friends

class PSTUNClient


Detailed Description

UDP socket that has been created by the STUN client.

Constructor & Destructor Documentation

PSTUNUDPSocket::PSTUNUDPSocket (  ) 


Member Function Documentation

virtual BOOL PSTUNUDPSocket::GetLocalAddress ( Address &  addr  )  [virtual]

Parameters:
addr  Variable to receive hosts IP address

virtual BOOL PSTUNUDPSocket::GetLocalAddress ( Address &  addr,
WORD &  port 
) [virtual]

Parameters:
addr  Variable to receive peer hosts IP address
port  Variable to receive peer hosts port number


Friends And Related Function Documentation

friend class PSTUNClient [friend]


Member Data Documentation

PIPSocket::Address PSTUNUDPSocket::externalIP [protected]


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 14:40:15 2007 for PWLib by  doxygen 1.5.3