Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
udp.h File Reference

UDP protocol connection factory functions. More...

#include "kcenon/network/detail/unified/i_connection.h"
#include "kcenon/network/detail/unified/i_listener.h"
#include "kcenon/network/detail/unified/types.h"
#include <memory>
#include <string>
#include <string_view>
Include dependency graph for udp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  kcenon
 
namespace  kcenon::network
 Main namespace for all Network System components.
 
namespace  kcenon::network::protocol
 
namespace  kcenon::network::protocol::udp
 

Functions

auto kcenon::network::protocol::udp::create_connection (std::string_view id="") -> std::unique_ptr< unified::i_connection >
 Creates a UDP connection (not yet started)
 
auto kcenon::network::protocol::udp::connect (const unified::endpoint_info &endpoint, std::string_view id="") -> std::unique_ptr< unified::i_connection >
 Creates and starts a UDP connection in one call.
 
auto kcenon::network::protocol::udp::connect (std::string_view url, std::string_view id="") -> std::unique_ptr< unified::i_connection >
 Creates and starts a UDP connection using URL format.
 
auto kcenon::network::protocol::udp::create_listener (std::string_view id="") -> std::unique_ptr< unified::i_listener >
 Creates a UDP listener (not yet listening)
 
auto kcenon::network::protocol::udp::listen (const unified::endpoint_info &bind_address, std::string_view id="") -> std::unique_ptr< unified::i_listener >
 Creates and starts a UDP listener in one call.
 
auto kcenon::network::protocol::udp::listen (uint16_t port, std::string_view id="") -> std::unique_ptr< unified::i_listener >
 Creates and starts a UDP listener on a specific port.
 

Detailed Description

UDP protocol connection factory functions.

UDP protocol factory functions for the unified transport layer.

See also
udp_facade.h

Provides create_connection() and create_listener() factory functions for UDP transport using the unified i_connection/i_listener interfaces.

Definition in file udp.h.