namespace Unix

The Unix namespace provides a set of tools to access unix domain socket streams

namespace contents
Classes
class Stream - Provides a Unix domain socket implementation of the Stream object
Functions
function bind(string) - Bind to a Unix domain socket
function connect(string) - Connect to a Unix domain socket at the specified location

Functions

function bind Click to go up to the list
Bind to a Unix domain socket
Declaration:
    function bind(string path)
Description:
Creates a UnixStream object bound to the specified Unix domain socket. Note that the bind will fail if the file already exists, and Unix domain sockets are not automatically deleted when the server closes them, so you may need to delete a stale socket file before you can bind to it.
Parameters:
    Parameter #1: string path - The full path to the file to use as the named socket
Returns:
    An object that can accept connections, or null on error

function connect Click to go up to the list
Connect to a Unix domain socket at the specified location
Declaration:
    function connect(string path)
Parameters:
    Parameter #1: string path - The full path to the named socket
Returns:
    An object connected to the named socket, or null if the connection could not be established

Automatically generated at 12:07PM, Wednesday 25 May 2005 by feritedoc.