Class UDPSocket

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class UDPSocket : public ska::pst::recv::Socket

Abstract class for UDP Send or Receive sockets.

Subclassed by ska::pst::recv::UDPSocketReceive, ska::pst::recv::UDPSocketSend

Public Functions

UDPSocket() = default

Construct a new UDPSocket object.

~UDPSocket() = default

Destroy the UDPSocket object.

virtual void open(int port) override

Open the UDP socket configured with the specified port.

Parameters

port – UDP port for use for the socket.

struct other_udp_sock

sockaddr_in struct for other end-point of the UDP socket

struct udp_sock

sockaddr_in struct for UDP socket