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 <cstdint>
#include <optional>
#include <string>
#include <string_view>
#include "sdkconfig.h"

Go to the source code of this file.

Classes

class  idfxx::net::ip4_addr
 IPv4 address value type. More...
 
class  idfxx::net::ip6_addr
 IPv6 address value type. More...
 
struct  idfxx::net::ip4_info
 IPv4 network interface information. More...
 
struct  idfxx::net::ip6_info
 IPv6 network interface information. More...
 

Namespaces

namespace  idfxx
 
namespace  idfxx::net
 

Functions

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

Detailed Description

IP address value types for networking.

Definition in file net.hpp.