Socket Daemon
$socket :
$address :
$port :
$debug :
__construct( $opts = array(), $start = true)
connect( $address = NULL, $port = NULL)
shutdown( $what = 2)
close( $graceful = false, $linger = false)
error_code()
error_msg()
try_call( $try)
send( $msg, $len = NULL, $flags)
send_str( $buf, $flags, $fatal = true)
write( $msg, $len = NULL)
write_str( $buf, $fatal = true)
read( $len, $type = PHP_BINARY_READ)
recv( $buf, $len, $flags)
nonblock()
block()
bind( $address = NULL, $port = NULL)
listen( $backlog)
accept( $object = true)
set_addr( $address, $port)