Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
ip_address.hpp File Reference
#include <string>
#include <string_view>
#include <vector>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  pulp
namespace  pulp::runtime

Functions

bool pulp::runtime::is_valid_ipv4 (std::string_view address)
 Parse and validate an IPv4 address.
std::vector< std::string > pulp::runtime::local_ipv4_addresses ()
 Get all local IPv4 addresses (excluding loopback).
std::string pulp::runtime::local_ipv4_address ()
 Get the primary local IPv4 address (first non-loopback).
std::string pulp::runtime::hostname ()
 Get the hostname.