LocalAddress

Constructors

this
this(const(char)[] path)

-path- path to a unix domain socket (which is a filename)

Members

Functions

toString
string toString()

Properties

addressFamily
AddressFamily addressFamily [@property getter]
isAbstract
bool isAbstract [@property getter]
name
sockaddr* name [@property getter]
nameLen
int nameLen [@property getter]
path
const(char)[] path [@property getter]

Structs

sockaddr_un
struct sockaddr_un
Undocumented in source.

Variables

_path
const(char)[] _path;
Undocumented in source.
_pathLength
size_t _pathLength;
Undocumented in source.
sun
sockaddr_un sun;
Undocumented in source.

Inherited Members

From Address

sockaddr
struct sockaddr
Undocumented in source.
addrinfo
struct addrinfo
Undocumented in source.
name
sockaddr* name [@property getter]
Undocumented in source.
nameLen
int nameLen [@property getter]
Undocumented in source.
exception
void exception(immutable(char)[] msg)

Tango: added this common function

create
Address create(sockaddr* sa)

Address factory

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)
passive
Address passive(const(char)[] service, AddressFamily af, AIFlags flags)
passive
Address passive(ushort port, AddressFamily af, AIFlags flags)
toAddrString
char[] toAddrString [@property getter]
toPortString
char[] toPortString [@property getter]
toString
string toString()
addressFamily
AddressFamily addressFamily [@property getter]

Meta