htonl()
man htonl (3): ホストバイトオーダーとネットワークバイトオーダーの間で値を変換する
htonl()
関数は unsigned integer
hostlong
を
ホストバイトオーダー
から
ネットワークバイトオーダー
に変換する。