PWLib  1.10.10
Public Member Functions | Protected Attributes | Friends
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


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:
addrVariable to receive hosts IP address

Reimplemented from PIPSocket.

virtual BOOL 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.


Friends And Related Function Documentation

friend class PSTUNClient [friend]

Member Data Documentation


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