#include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> unsigned short _getshort(unsigned char *message_pointer)
The _getshort() function is used to retrieve an unsigned short byte quantity.
None.
_getshort() returns a 16-bit integer from where message_pointer is pointing.
Top | UNIX-Type APIs | APIs by category |