UdpSocketOptions Class Reference

#include <Pt/Net/UdpSocket.h>

UDP socket options.

Public Member Functions

 UdpSocketOptions ()
 Default constructor.
 
 UdpSocketOptions (const UdpSocketOptions &opts)
 Copy constructor.
 
 ~UdpSocketOptions ()
 Destructor.
 
UdpSocketOptionsoperator= (const UdpSocketOptions &opts)
 Assignment operator.
 
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.