fawkes::DatagramSocket Class Reference
[Fawkes Network Communication]
Datagram socket.
More...
#include <netcomm/socket/datagram.h>
Inheritance diagram for fawkes::DatagramSocket:

Public Member Functions | |
| DatagramSocket (float timeout=0.f) | |
| Constructor. | |
| DatagramSocket (DatagramSocket &s) | |
| Copy constructor. | |
| virtual Socket * | clone () |
| Clone socket. | |
Detailed Description
Datagram socket.A UDP socket on top of IP.
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:
- src/libs/netcomm/socket/datagram.h
- src/libs/netcomm/socket/datagram.cpp

