|
join 1.0
lightweight network framework library
|
basic endpoint class. More...
#include <endpoint.hpp>

Public Member Functions | |
| constexpr | BasicEndpoint () noexcept |
| default constructor. | |
| BasicEndpoint (const struct sockaddr *addr, socklen_t len) noexcept | |
| create instance using socket address. | |
| struct sockaddr * | addr () noexcept |
| get socket address. | |
| const struct sockaddr * | addr () const noexcept |
| get socket address. | |
Protected Attributes | |
| struct sockaddr_storage | _addr = {} |
| socket address storage. | |
basic endpoint class.
|
inlineconstexprnoexcept |
default constructor.
|
inlinenoexcept |
create instance using socket address.
| addr | socket address. |
| len | socket address length. |
|
inlinenoexcept |
get socket address.
|
inlinenoexcept |
get socket address.
|
protected |
socket address storage.