Finding out local IP address using a UDP socket on a system with no Internet access

后端 未结 0 641
傲寒
傲寒 2021-02-12 18:20

I need to find out the local IP address on a very old platform which doesn\'t have getifaddrs(). Lots of people recommend to do this by creating a UDP socket,

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