jsocketpp 1.0
A cross-platform C++20 socket library.
Loading...
Searching...
No Matches
DatagramSocket.hpp File Reference

UDP datagram socket abstraction for jsocketpp. More...

Go to the source code of this file.

Classes

struct  jsocketpp::DatagramReadOptions
 Options controlling a single UDP receive operation. More...
struct  jsocketpp::DatagramReadResult
 Telemetry data about a single UDP datagram receive operation. More...
struct  jsocketpp::ReadExactOptions
 Policy for enforcing an exact-byte receive on a single UDP datagram. More...
class  jsocketpp::DatagramSocket
 Cross-platform UDP socket class with Java-style interface. More...

Namespaces

namespace  jsocketpp
 A C++ socket library providing Java-style networking interfaces.

Enumerations

enum class  jsocketpp::DatagramReceiveMode : std::uint8_t { jsocketpp::DatagramReceiveMode::NoPreflight = 0 , jsocketpp::DatagramReceiveMode::PreflightSize = 1 , jsocketpp::DatagramReceiveMode::PreflightMax = 2 }
 Receive-time sizing policy for UDP datagrams. More...
enum class  jsocketpp::Direction : std::uint8_t { jsocketpp::Direction::Read , jsocketpp::Direction::Write , jsocketpp::Direction::ReadWrite }
 I/O readiness selector used by waitReady(). More...

Detailed Description

UDP datagram socket abstraction for jsocketpp.

Author
MangaD
Date
2025
Version
1.0