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

后端 未结 0 2001
予麋鹿
予麋鹿 2021-02-12 18:07

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,

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