tango.net.device.LocalSocket

License:

BSD style: see license.txt

Version:

Nov 2009: Initial release

Author:

Lukas Pinkowski, Kris
class LocalSocket : Socket
A wrapper around the Berkeley API to implement the IConduit abstraction and add stream-specific functionality.
this(const(char)[] path)
Create a streaming local socket
this(LocalAddress addr)
Create a streaming local socket
immutable(char)[] toString() [override]
Return the name of this device
class LocalServerSocket : LocalSocket
this(const(char)[] path, int backlog = 32, bool reuse = false)
immutable(char)[] toString() [override]
Return the name of this device
Socket accept(Socket recipient = null)
class LocalAddress : Address
this(const(char)[] path)
-path- path to a unix domain socket (which is a filename)
sockaddr* name() [@property, override, final]
int nameLen() [@property, override, final, const]
AddressFamily addressFamily() [@property, override, final]
string toString() [override, final]
const(char)[] path() [@property, final, const]
bool isAbstract() [@property, final, const]