fawkes::DatagramSocket Class Reference
[Fawkes Network Communication]

Datagram socket. More...

#include <netcomm/socket/datagram.h>

Inheritance diagram for fawkes::DatagramSocket:

[legend]
List of all members.

Public Member Functions

 DatagramSocket (float timeout=0.f)
 Constructor.
 DatagramSocket (DatagramSocket &s)
 Copy constructor.
virtual Socketclone ()
 Clone socket.

Detailed Description

Datagram socket.

A UDP socket on top of IP.

Author:
Tim Niemueller

Definition at line 31 of file datagram.h.


Constructor & Destructor Documentation

fawkes::DatagramSocket::DatagramSocket ( float  timeout = 0.f  ) 

Constructor.

Parameters:
timeout timeout, if 0 all operationsare blocking, otherwise it is tried for timeout seconds.

Definition at line 41 of file datagram.cpp.

Referenced by clone().

fawkes::DatagramSocket::DatagramSocket ( DatagramSocket datagram_socket  ) 

Copy constructor.

Parameters:
datagram_socket socket to copy.

Definition at line 50 of file datagram.cpp.


Member Function Documentation

Socket * fawkes::DatagramSocket::clone (  )  [virtual]

Clone socket.

Returns:
a copied instance of DatagramSocket.

Implements fawkes::Socket.

Definition at line 60 of file datagram.cpp.

References DatagramSocket().


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:31:40 2011 for Fawkes API by  doxygen 1.4.7