class UnixStream

extends Stream

Provides a Unix domain socket implementation of the Stream object

class attributes [NB. Highlighted attributes are static members]
function UnixStream() - The constructor
function accept() - Accept an incoming connection
function listen() - Set the number of slots the system listens on for connections.

Functions

function UnixStream Click to go up to the list
The constructor
Declaration:
    native function UnixStream(number socket)
Description:
Do not instantiate this class directly away - use Network.unix_bind() or Network.unix_connect() to get an instance of it.
Parameters:
    Parameter #1: number socket - The socket descriptor

function accept Click to go up to the list
Accept an incoming connection
Declaration:
    native function accept()
Description:
This function will accept a connection and return a UnixStream object which can be used. This function will only work if the socket was initially created using Network.unix_bind().

function listen Click to go up to the list
Set the number of slots the system listens on for connections.
Declaration:
    native function listen(number backlog)
Parameters:
    Parameter #1: number backlog - The number of slots

Automatically generated at 8:45pm, Wednesday 08 January 2003 by feritedoc.