tango.net.device.LocalSocket
License:
BSD style:
Version:
Nov 2009: Initial release
author:
Lukas Pinkowski, Kris
- class LocalSocket: tango.net.device.Socket.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();
- Return the name of this device
- class LocalServerSocket: tango.net.device.LocalSocket.LocalSocket;
- this(const(char)[] path, int backlog = 32, bool reuse = false);
- immutable(char)[] toString();
- Return the name of this device
- Socket accept(Socket recipient = null);
- class LocalAddress: tango.net.device.Berkeley.Address;
- this(const(char)[] path);
- -path- path to a unix domain socket (which is a filename)
- final @property sockaddr* name();
- const final const @property int nameLen();
- final @property AddressFamily addressFamily();
- final string toString();
- const final const @property const(char)[] path();
- const final const @property bool isAbstract();
Page generated by Ddoc. Copyright (c) 2009 Tango. All rights reserved