52 UInt_64
Send(
const Endpoint &endpoint,
const Byte* data, UInt_64 size)
override;
82 UInt_64 Send_v6(
const Str_8& address,
UInt_16 port,
const Byte* data, UInt_64 size);
84 UInt_64 Send_v4(
const Str_8& address,
UInt_16 port,
const Byte* data, UInt_64 size);
BaseUDP()
Initializes the socket with the defaults.
Definition BaseUDP.cpp:5
void SetBlocking(bool blocking) override
Definition UDP_BSD.cpp:184
void SetIPv6Only(bool value) override
Definition UDP_BSD.cpp:201
void Bind(const Endpoint &endpoint) override
Definition UDP_BSD.cpp:99
bool IsIPv6Only() const override
Definition UDP_BSD.cpp:225
UInt_64 Send(const Endpoint &endpoint, const Byte *data, UInt_64 size) override
Definition UDP_BSD.cpp:114
void Release() override
Frees native handles and uninitializes them.
Definition UDP_BSD.cpp:85
bool IsBlocking() const override
Definition UDP_BSD.cpp:196
UInt_64 Receive(Endpoint *endpoint, Byte *data, UInt_64 size) override
Definition UDP_BSD.cpp:124
UDP()
Definition UDP_BSD.cpp:23
UDP & operator=(UDP &&udp) noexcept
Definition UDP_BSD.cpp:59
bool IsValid() const override
Definition UDP_BSD.cpp:250
Str< Char_8, UInt_64 > Str_8
Definition Str.h:1953
unsigned char Byte
Definition Types.h:39
unsigned short UInt_16
Definition Types.h:46