UdpSocket Class Reference

Packet oriented socket. More...

#include <UdpSocket.h>

Inheritance diagram for UdpSocket:

List of all members.

Public Member Functions

 UdpSocket (const UdpSocket &sock)
 UdpSocket (int listenPortSetToZeroForSending=0)
 UdpSocket (const String &address, int listenPort=0)
UdpSocketoperator= (const UdpSocket &pmp)
void Send (const Array< byte > &packet)
void Send (const Array< byte > &packet, const String &address)
int Recv (Array< byte > &packet)
SOCKADDR_IN ReceivedFromAddress () const
bool IsClosed ()
void Close ()
void Shutdown (int i=SD_BOTH)
void SetNonBlocking ()
void SetBlocking ()
void SetLingerOn ()
void SetLingerOff ()
void SetNoDelay ()
void SetSendTimeout (int toMS)
void SetRecvTimeout (int toMS)
int GetSendTimeout ()
int GetRecvTimeout ()
int GetErrorCode ()
int GetBytesAvail ()
String GetRemoteIp ()
bool operator== (const UdpSocket &s) const
virtual void CheckMem () const
virtual void ValidateMem () const

Protected Attributes

String m_address
SocketPtr m_sock
int m_port
SOCKADDR_IN m_recvFromAddr


class ServerSocket
class SocketSet

Detailed Description

Packet oriented socket.

Definition at line 38 of file UdpSocket.h.

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