class Client (View source)

Constants

MSG_OOB

MSG_PEEK

MSG_DONTWAIT

MSG_WAITALL

Properties

$errCode
$errMsg
$fd
$type
$setting
$connected

Methods

__construct($type)

No description

__destruct()

No description

mixed
set(array $settings)

No description

mixed
connect(mixed $host, mixed|null $port = null, mixed|null $timeout = null, mixed|null $sock_flag = null)

No description

mixed
recv(mixed|null $timeout = null)

No description

mixed
peek(mixed|null $length = null)

No description

mixed
send(mixed $data)

No description

mixed
sendfile(mixed $filename, mixed|null $offset = null, mixed|null $length = null)

No description

mixed
sendto(mixed $address, mixed $port, mixed $data)

No description

mixed
recvfrom(mixed $length, mixed $address, mixed|null $port = null)

No description

mixed
enableSSL()

No description

mixed
getPeerCert()

No description

mixed
verifyPeerCert()

No description

mixed
isConnected()

No description

mixed
getsockname()

No description

mixed
getpeername()

No description

mixed
close()

No description

mixed
exportSocket()

No description

Details

__construct($type)

No description

Parameters

$type

__destruct()

No description

mixed set(array $settings)

No description

Parameters

array $settings

Return Value

mixed

mixed connect(mixed $host, mixed|null $port = null, mixed|null $timeout = null, mixed|null $sock_flag = null)

No description

Parameters

mixed $host
mixed|null $port
mixed|null $timeout
mixed|null $sock_flag

Return Value

mixed

mixed recv(mixed|null $timeout = null)

No description

Parameters

mixed|null $timeout

Return Value

mixed

mixed peek(mixed|null $length = null)

No description

Parameters

mixed|null $length

Return Value

mixed

mixed send(mixed $data)

No description

Parameters

mixed $data

Return Value

mixed

mixed sendfile(mixed $filename, mixed|null $offset = null, mixed|null $length = null)

No description

Parameters

mixed $filename
mixed|null $offset
mixed|null $length

Return Value

mixed

mixed sendto(mixed $address, mixed $port, mixed $data)

No description

Parameters

mixed $address
mixed $port
mixed $data

Return Value

mixed

mixed recvfrom(mixed $length, mixed $address, mixed|null $port = null)

No description

Parameters

mixed $length
mixed $address
mixed|null $port

Return Value

mixed

mixed enableSSL()

No description

Return Value

mixed

mixed getPeerCert()

No description

Return Value

mixed

mixed verifyPeerCert()

No description

Return Value

mixed

mixed isConnected()

No description

Return Value

mixed

mixed getsockname()

No description

Return Value

mixed

mixed getpeername()

No description

Return Value

mixed

mixed close()

No description

Return Value

mixed

mixed exportSocket()

No description

Return Value

mixed