22 bool init(
bool ipv6,
bool noExceptions =
false);
26 void Send(
const Address &destination,
const void *data,
int size);
bool init(bool ipv6, bool noExceptions=false)
Definition socket.cpp:70
void Bind(Address addr)
Definition socket.cpp:123
int m_handle
Definition socket.h:37
void Send(const Address &destination, const void *data, int size)
Definition socket.cpp:163
int GetHandle() const
Definition socket.h:34
unsigned short m_addr_family
Definition socket.h:39
int m_timeout_ms
Definition socket.h:38
int Receive(Address &sender, void *data, int size)
Definition socket.cpp:203
void setTimeoutMs(int timeout_ms)
Definition socket.cpp:249
~UDPSocket()
Definition socket.cpp:112
bool WaitData(int timeout_ms)
Definition socket.cpp:254
void sockets_cleanup()
Definition socket.cpp:52
void sockets_init()
Definition socket.cpp:41