Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > ipaddrライブラリ > IPAddrクラス > hton

instance method IPAddr#hton

hton -> String

ネットワークオーダーのバイト列に変換します。