Class UDPSocket

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class UDPSocket : public eipScanner::sockets::BaseSocket

Subclassed by eipScanner::sockets::UDPBoundSocket

Public Types

using WPtr = std::weak_ptr<UDPSocket>
using SPtr = std::shared_ptr<UDPSocket>
using UPtr = std::unique_ptr<UDPSocket>

Public Functions

UDPSocket(EndPoint endPoint)
UDPSocket(std::string host, int port)
~UDPSocket()
void Send(const std::vector<uint8_t> &data) const
std::vector<uint8_t> Receive(size_t size) const
std::vector<uint8_t> ReceiveFrom(size_t size, EndPoint &endPoint) const