#include <Pt/Net/UdpSocket.h>
UDP socket options.
Public Member Functions | |
| UdpSocketOptions () | |
| Default constructor. | |
| UdpSocketOptions (const UdpSocketOptions &opts) | |
| Copy constructor. | |
| ~UdpSocketOptions () | |
| Destructor. | |
| int | hopLimit () const |
| Returns the hop limit. | |
| bool | isBroadcast () const |
| Returns true if UDP broadcast is enabled. | |
| UdpSocketOptions & | operator= (const UdpSocketOptions &opts) |
| Assignment operator. | |
| void | setBroadcast () |
| enables UDP broadcast. | |
| void | setHopLimit (int n) |
| Sets the hop limit. | |