#include <uv.h>
#include <cstring>
#include <string_view>
Go to the source code of this file.
|
template<typename T > |
int | wpi::uv::AddrToName (const sockaddr_in &addr, T *ip, unsigned int *port) |
| Convert a binary structure containing an IPv4 address to a string. More...
|
|
template<typename T > |
int | wpi::uv::AddrToName (const sockaddr_in6 &addr, T *ip, unsigned int *port) |
| Convert a binary structure containing an IPv6 address to a string. More...
|
|
template<typename T > |
int | wpi::uv::AddrToName (const sockaddr_storage &addr, T *ip, unsigned int *port) |
| Convert a binary structure containing an IPv4 or IPv6 address to a string. More...
|
|
template<typename T > |
int | wpi::uv::AddrToName (const in_addr &addr, T *ip) |
| Convert a binary IPv4 address to a string. More...
|
|
template<typename T > |
int | wpi::uv::AddrToName (const in6_addr &addr, T *ip) |
| Convert a binary IPv6 address to a string. More...
|
|
int | wpi::uv::NameToAddr (std::string_view ip, unsigned int port, sockaddr_in *addr) |
| Convert a string containing an IPv4 address to a binary structure. More...
|
|
int | wpi::uv::NameToAddr (std::string_view ip, unsigned int port, sockaddr_in6 *addr) |
| Convert a string containing an IPv6 address to a binary structure. More...
|
|
int | wpi::uv::NameToAddr (std::string_view ip, in_addr *addr) |
| Convert a string containing an IPv4 address to binary format. More...
|
|
int | wpi::uv::NameToAddr (std::string_view ip, in6_addr *addr) |
| Convert a string containing an IPv6 address to binary format. More...
|
|