erlang host address
在rabbitMQ看到一段关于转换地址的代码:
留着以后用
[code="erlang"]
%% inet_parse:address takes care of ip string, like "0.0.0.0"
%% inet:getaddr returns immediately for ip tuple {0,0,0,0},
%% and runs 'inet_gethos...
原创
2014-03-07 13:40:21 ·
186 阅读 ·
0 评论