Linux ioctl -> how to tell if current IP was obtained by dhcp
I\'m fiddling with the sockets ioctl\'s to get the current interfaces setup and I can already get the IP, interface name, net开发者_Go百科mask and check if the interface is up or down, (I just do IOCT
问答
阅读(4)