Fawkes API  Fawkes Development Version
fawkes::DatagramSocket Class Reference

Datagram socket. More...

#include <netcomm/socket/datagram.h>

Inheritance diagram for fawkes::DatagramSocket:

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

Constructor & Destructor Documentation

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

Constructor.

Parameters:
timeouttimeout, 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_socketsocket 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: