The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

NAME

ntohl, ntohs - convert values between host and network byte order

SYNOPSIS



#include <arpa/inet.h>

uint32_t ntohl(uint32_t netlong);

uint16_t ntohs(uint16_t netshort);

DESCRIPTION

Refer to htonl().

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]