libfilezilla
Namespaces | Enumerations | Functions
iputils.hpp File Reference

Various functions to deal with IP address strings. More...

#include "libfilezilla.hpp"
Include dependency graph for iputils.hpp:

Go to the source code of this file.

Namespaces

namespace  fz
 

The namespace used by libfilezilla.


Enumerations

enum  address_type { unknown, ipv4, ipv6 }

Functions

std::string get_ipv6_long_form (std::string const &short_address)
 Given a shortened IPv6 address, returns the full, unshortened address.
std::wstring get_ipv6_long_form (std::wstring const &short_address)
bool is_routable_address (std::string const &address)
 Tests whether the passed IP address is routable on the public Internet.
bool is_routable_address (std::wstring const &address)
address_type get_address_type (std::string const &address)
 Gets the type of the passed IP address.
address_type get_address_type (std::wstring const &address)

Detailed Description

Various functions to deal with IP address strings.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines