Ruby - IPSocket.getaddress returning ipv6 address

前端 未结 0 727
南笙
南笙 2021-01-30 13:58

I\'m running the following command expecting to get an ipv4 address, but getting an ipv6 instead:

[dummyhost]# ruby -rsocket -e \'p IPSocket.getaddress("goog         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题