htonl

Jump to: navigation, search

Table of Contents >> Programmer's Reference


#include <trsocket.h>


unsigned long htonl (unsigned long longValue);


Function Description

This function converts a long value from host byte order to network byte order.


Parameters

  • longValue
    The value to convert.


Returns

  • (unsigned long)
    The converted value.


Table of Contents >> Programmer's Reference