Ngalan
htonl, htons, ntohl, ntohs - i-convert ang mga bili tali sa host ug network byte order
Sinopsis
Ipakita angDeskripsiyon
Ang htonl () function nag-convert sa unsigned integer hostlong gikan sa host byte order ngadto sa network byte order.
Ang mga hula () function nag-usab sa unsigned short integer hostshort gikan sa host byte order ngadto sa network byte order.
Ang function sa ntohl () mag-convert sa unsigned integer netlong gikan sa order sa byte sa network aron ibutang ang order sa byte.
Ang function ntohs () mag-convert sa unsigned short netshort nga integer gikan sa order sa byte sa network aron ibutang ang order sa byte.
Sa i80x86 ang host byte nga order mao ang labing Piho nga Piho nga Byte una, samtang ang order sa byte sa network, nga gigamit sa Internet, mao ang una nga Labing Importante nga Byte.
Pagsunod sa
BSD 4.3