25#ifndef QB_IO_ASYNC_UDP_SERVER_H
26#define QB_IO_ASYNC_UDP_SERVER_H
31namespace qb::io::async::udp {
44template <
typename _Derived>
60 if constexpr (has_member_Protocol<_Derived>::value) {
61 if constexpr (!std::is_void_v<typename _Derived::Protocol>) {
63 static_cast<_Derived &
>(*
this));
_Protocol * switch_protocol(_Args &&...args)
Switches to a new protocol for I/O processing, taking ownership.
Definition io.h:988
io()=default
Default constructor.
server() noexcept
Constructor.
Definition server.h:59
static constexpr const bool has_server
Flag indicating server association (false for UDP servers)
Definition server.h:49
UDP transport providing connectionless, datagram-based communication.
Definition udp.h:44
Core asynchronous I/O class templates for event-driven operations.
UDP datagram transport implementation for the QB IO library.