\Websocket

Summary

Methods
Properties
Constants
__construct()
Handles()
listen()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$socket
N/A

Properties

Methods

__construct()

__construct(string  $host = '127.0.0.1') 

Constructor, sets host and port to bind to.

Parameters

string $host

Socket host to bind to, defaults to localhost

listen()

listen(  $port,   $maxConnections = SOMAXCONN) 

Parameters

$port
$maxConnections