idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
net.hpp File Reference

IP address value types for networking. More...

#include <array>
#include <concepts>
#include <cstdint>
#include <optional>
#include <string>
#include <string_view>
#include "sdkconfig.h"

Go to the source code of this file.

Classes

class  idfxx::net::ipv4_addr
 IPv4 address value type. More...
 
class  idfxx::net::ipv6_addr
 IPv6 address value type. More...
 
struct  idfxx::net::ipv4_info
 IPv4 network interface information. More...
 
struct  idfxx::net::ipv6_info
 IPv6 network interface information. More...
 

Namespaces

namespace  idfxx
 
namespace  idfxx::net
 

Concepts

concept  idfxx::net::ip_address
 Concept matching either ipv4_addr or ipv6_addr.
 

Functions

std::string idfxx::to_string (net::ipv4_addr addr)
 Returns the dotted-decimal string representation of an IPv4 address.
 
std::string idfxx::to_string (net::ipv6_addr addr)
 Returns the string representation of an IPv6 address.
 
std::string idfxx::to_string (net::ipv4_info info)
 Returns the string representation of IPv4 network information.
 

Detailed Description

IP address value types for networking.

Definition in file net.hpp.