Address

Members

Functions

toString
string toString()

Properties

addressFamily
AddressFamily addressFamily [@property getter]
name
sockaddr* name [@property getter]
Undocumented in source.
nameLen
int nameLen [@property getter]
Undocumented in source.
toAddrString
char[] toAddrString [@property getter]
toPortString
char[] toPortString [@property getter]

Static functions

create
Address create(sockaddr* sa)

Address factory

exception
void exception(immutable(char)[] msg)

Tango: added this common function

passive
Address passive(const(char)[] service, AddressFamily af, AIFlags flags)
passive
Address passive(ushort port, AddressFamily af, AIFlags flags)
resolve
Address resolve(const(char)[] host, const(char)[] service, AddressFamily af, AIFlags flags)
resolve
Address resolve(const(char)[] host, ushort port, AddressFamily af, AIFlags flags)
resolveAll
Address[] resolveAll(const(char)[] host, const(char)[] service, AddressFamily af, AIFlags flags)
resolveAll
Address[] resolveAll(const(char) host, ushort port, AddressFamily af, AIFlags flags)

Structs

addrinfo
struct addrinfo
Undocumented in source.
sockaddr
struct sockaddr
Undocumented in source.

Meta