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

instance method IPAddr#hton

hton -> String

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

class IPAddr