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