Constants

BIG_ENDIAN

BIG_ENDIAN = pack('L', 1) === pack('N', 1)

LARAVEL_START

LARAVEL_START = microtime(true)

Functions

connectlocal()

connectlocal(  $localaddr,   $localport) 

Parameters

$localaddr
$localport

connectremote()

connectremote(  $seraddr,   $port) 

Parameters

$seraddr
$port

ConsoleOut()

ConsoleOut(  $log,   $level = 'info') 

Parameters

$log
$level

dnsopen()

dnsopen(  $seraddr,   $port) 

Parameters

$seraddr
$port

getloacladdr()

getloacladdr(  $url) 

Parameters

$url

is_cli()

is_cli() 

lentobyte()

lentobyte(  $len) 

Parameters

$len

lentobyte1()

lentobyte1(  $len) 

Parameters

$len

natapp_auth()

natapp_auth(  $token) 

Parameters

$token

NgrokAuth()

NgrokAuth(  $token) 

Parameters

$token

Ping()

Ping() 

RegProxy()

RegProxy(  $ClientId) 

Parameters

$ClientId

sendbuf()

sendbuf(  $sock,   $buf,   $isblock = true) 

Parameters

$sock
$buf
$isblock

sendpack()

sendpack(  $sock,   $msg,   $isblock = true) 

Parameters

$sock
$msg
$isblock

shutdown()

shutdown(  $mainsocket) 

Parameters

$mainsocket

tolen()

tolen(  $v) 

Parameters

$v

tolen1()

tolen1(  $v) 

Parameters

$v