< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Bug #743: Socket.gethostbyname returns odd values
http://redmine.ruby-lang.org/issues/show/743
Author: Roger Pack
Status: Open, Priority: Normal
from http://rubyforge.org/tracker/index.php?func=detail&aid=14979&group_id=426&atid=1698
ruby -rsocket -e 'p Socket.gethostbyname("127.0.0.1")'
should return something like ["localhost", [], 2, "\177\000\000\001"]
(it does with ruby 1.8.2 (2005-04-11) and also on windows)
However, on linux with 1.9/1.8.7 it returns
["127.0.0.1", [], 2, "\x7F\x00\x00\x01"]
Socket.gethostbyname("127.0.0.1")'
["127.0.0.1", [], 2, "\177\000\000\001"]
respectively, which I think is unexpected.
Thanks!
from
----------------------------------------
http://redmine.ruby-lang.org