boost::corosio::endpoint::endpoint
Constructors
Synopses
Declared in <boost/corosio/endpoint.hpp>
Default constructor.
endpoint() noexcept;
Construct from a string.
explicit
endpoint(std::string_view s);
Construct from port only.
explicit
endpoint(uint16_t p) noexcept;
Construct from IPv4 address and port.
endpoint(
ipv4_address addr,
uint16_t p) noexcept;
Construct from IPv6 address and port.
endpoint(
ipv6_address addr,
uint16_t p) noexcept;
Construct from an endpoint's address with a different port.
Parameters
| Name | Description |
|---|---|
s |
The string to parse. |
p |
The port number in host byte order. |
addr |
The IPv4 address. |
ep |
The endpoint whose address to use. |
Created with MrDocs