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]

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.

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

Reimplemented from PIPSocket.


Friends And Related Function Documentation

friend class PSTUNClient [friend]


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Fri Feb 29 13:37:13 2008 for PWLib by  doxygen 1.5.5