4 #include "network_condition_variable.h"
39 std::shared_ptr<UDPSocketImpl> impl;
Base class for all classes that generate network events.
Definition: network_condition_variable.h:15
int read(void *data, int size, SocketName &endpoint)
Read receved UDP packet.
UDPSocket()
Create socket object.
void close()
Close connection.
SocketHandle * get_socket_handle() override
UDP/IP socket class.
Definition: udp_socket.h:15
void bind(const SocketName &endpoint)
Bind socket to end point.
Socket name; container class for an IP address and port.
Definition: socket_name.h:45
void send(const void *data, int size, const SocketName &endpoint)
Send UDP packet to end point.