The _getshort() function is used to retrieve an unsigned short byte
quantity.
Authorities and Locks
None.
Parameters
message_pointer
(Input) The pointer where the short integer is to be received from.
Return Value
_getshort() returns a 16-bit integer from where
message_pointer is pointing.
Usage Notes
DNS packets have fields that are unsigned short integers (for example,
type, class, and data length). _getshort() picks these unsigned short
integers out of a DNS packet and returns them.