htonl

32ビットのunsigned long integerをホストのバイト・オーダーからネットワークのバイト・オーダーに変換します。

uint32_t htonl(uint32_t)

htonl関数は、32ビットのunsigned long integerをホストのバイト・オーダーからネットワークのバイト・オーダーに変換します。