Class UdpSocket
Defined in File udp_socket.hpp
Class Documentation
Wrapper around ASIO UDP socket.
Public Types
Public Functions
Construct a new UdpSocket object.
- Parameters:
ctx – Threading context
remote_ip – Remote IP to receive / send data from / to
remote_port – Remote port
host_ip – Host IP (empty to use any interface)
host_port – Host port
Destroy the UdpSocket object.
Blocking send operation.
Blocking receive operation.
Non-blocking send operation.
Non-blocking receive operation.