프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$response | Response |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$highMark | Default high mark. Maximum number of bytes in buffer. | ||
$lowMark | Default low mark. Minimum number of bytes in buffer. | ||
$pctSize | Current packet size | ||
$rcodeMessages | |||
$seq | Sequence |
메소드 | 설명 | |
---|---|---|
get ( string $hostname, callable $cb ) : void | Gets the host information | |
onFinish ( ) : void | Called when connection finishes | |
onRead ( ) : void | Called when new data received | |
onUdpPacket ( string $pct ) : void | Called when new UDP packet received. |
메소드 | 설명 | |
---|---|---|
getMessageByRcode ( integer $rcode ) : string |
protected getMessageByRcode ( integer $rcode ) : string | ||
$rcode | integer | |
리턴 | string |
public onUdpPacket ( string $pct ) : void | ||
$pct | string | |
리턴 | void |