1 #ifndef __JUDPSOCKET_HH
2 #define __JUDPSOCKET_HH
4 #include <sys/select.h>
void setReuseAddress(const bool on)
Set reuse address.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
void setIPnumber()
Set any IP number.
const sockaddr * getSockaddr() const
Get sockaddr.
int getFileDescriptor() const
Get file descriptor.
void setPort(const int port)
Set port number.
Auxiliary class for method select.
JUDPSocket(const int port)
Constructor.
void setFamily(const int family)
Set family.