Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

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

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,
WORD &  port
[virtual]
 

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

Reimplemented from PIPSocket.

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

Get the Internet Protocol address for the local host.

Returns:
TRUE if the IP number was returned.
Parameters:
addr  Variable to receive hosts IP address

Reimplemented from PIPSocket.


Member Data Documentation

PIPSocket::Address PSTUNUDPSocket::externalIP [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Jul 24 15:36:00 2004 for PWLib by doxygen 1.3.7