C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::datagram_socket Struct Reference

A datagram-oriented network communication endpoint. More...

#include <datagram_socket.hpp>

Inheritance diagram for caf::net::datagram_socket:
caf::net::network_socket caf::net::socket caf::detail::comparable< socket > caf::net::udp_datagram_socket

Public Types

using super = network_socket
 
- Public Types inherited from caf::net::network_socket
using super = socket
 

Related Symbols

(Note that these are not member symbols.)

error CAF_NET_EXPORT allow_connreset (datagram_socket x, bool new_value)
 Enables or disables SIO_UDP_CONNRESET error on x.
 
std::variant< size_t, sec > CAF_NET_EXPORT check_datagram_socket_io_res (std::make_signed_t< size_t > res)
 Converts the result from I/O operation on a datagram_socket to either an error code or a integer greater or equal to zero.
 

Additional Inherited Members

- Public Member Functions inherited from caf::net::socket
constexpr socket (socket_id id) noexcept
 
constexpr socket (const socket &other) noexcept=default
 
socketoperator= (const socket &other) noexcept=default
 
constexpr signed_socket_id compare (socket other) const noexcept
 
constexpr operator bool () const noexcept
 
constexpr bool operator! () const noexcept
 
constexpr socket fd () const noexcept
 
- Public Attributes inherited from caf::net::socket
socket_id id
 

Detailed Description

A datagram-oriented network communication endpoint.


The documentation for this struct was generated from the following file: