PHP Class Network\Client

Connected client socket.
Inheritance: extends Connection
Datei anzeigen Open project: prggmr/xpspl Class Usage Examples

Public Methods

Method Description
__construct ( resource $socket ) : void Constructs a new client connection.

Protected Methods

Method Description
_connect ( ) : boolean Establishes the socket connection.

Method Details

__construct() public method

Constructs a new client connection.
public __construct ( resource $socket ) : void
$socket resource Socket connection.
return void

_connect() protected method

Establishes the socket connection.
protected _connect ( ) : boolean
return boolean