60 -> std::unique_ptr<unified::i_connection>;
81 std::string_view
id =
"")
82 -> std::unique_ptr<unified::i_connection>;
90[[nodiscard]]
auto connect(std::string_view url, std::string_view
id =
"")
91 -> std::unique_ptr<unified::i_connection>;
124 -> std::unique_ptr<unified::i_listener>;
145 std::string_view
id =
"")
146 -> std::unique_ptr<unified::i_listener>;
156[[nodiscard]]
auto listen(uint16_t port, std::string_view
id =
"")
157 -> std::unique_ptr<unified::i_listener>;
Core interface for active network connections.
Core interface for passive network listeners (server-side).
auto 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 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 create_listener(std::string_view id="") -> std::unique_ptr< unified::i_listener >
Creates a UDP listener (not yet listening)
auto create_connection(std::string_view id="") -> std::unique_ptr< unified::i_connection >
Creates a UDP connection (not yet started)
Network endpoint information (host/port or URL)
Network endpoint types (host/port, URL) and common type aliases.