\React\Dns\ProtocolParser

DNS protocol parser

Obsolete and uncommon types and classes are not implemented.

Summary

Methods
Properties
Constants
parseChunk()
parseHeader()
parseQuestion()
parseAnswer()
isEndOfLabels()
getCompressedLabel()
isCompressedLabel()
getCompressedLabelOffset()
signedLongToUnsignedLong()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
readLabels()
No private properties found
N/A

Methods

isEndOfLabels()

isEndOfLabels( $data,  $consumed)

Parameters

$data
$consumed

getCompressedLabel()

getCompressedLabel( $data,  $consumed)

Parameters

$data
$consumed

isCompressedLabel()

isCompressedLabel( $data,  $consumed)

Parameters

$data
$consumed

getCompressedLabelOffset()

getCompressedLabelOffset( $data,  $consumed)

Parameters

$data
$consumed

signedLongToUnsignedLong()

signedLongToUnsignedLong( $i)

Parameters

$i

readLabels()

readLabels( $data,  $consumed)

Parameters

$data
$consumed