UdpSocketOptions Class Reference

#include <Pt/Net/UdpSocket.h>

UDP socket bind and send options.

Public Member Functions

 UdpSocketOptions ()
 Creates default options.
 UdpSocketOptions (const UdpSocketOptions &opts)
 Copies the options.
 ~UdpSocketOptions ()
 Destroys the options.
UdpSocketOptionsoperator= (const UdpSocketOptions &opts)
 Assigns the options.
bool isBroadcast () const
 Returns true if UDP broadcast is enabled.
void setBroadcast ()
 Enables UDP broadcast.
int hopLimit () const
 Returns the hop limit.
void setHopLimit (int n)
 Sets the hop limit.