Previous section.

Networking Services (XNS) Issue 5
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().

CHANGE HISTORY

First released in Issue 4.

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index