ocean.sys.socket.AddrInfo

Declaration of and wrappers for the addrinfo address lookup API.

Members

Classes

AddrInfo
class AddrInfo

Wraps getaddrinfo()/freeaddrinfo() and manages an addrinfo instance.

AddrInfoC
class AddrInfoC

Wraps getaddrinfo()/freeaddrinfo() and manages an addrinfo instance; uses C strings as arguments. This class is memory-friendly when used with 'scope' instances.

Functions

gai_strerror
char* gai_strerror(addrinfo.ErrorCode errcode)

Obtains the error message for errcode.

Structs

addrinfo
struct addrinfo

Address information struct as returned by getaddrinfo().

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).