Get gateway address in C/C++ -
i use ioctl() set gateway address (siocaddrt rtf_gateway in flags).
what's standard ioctl routine retrieve it?
my understanding there no 'standard ioctl routine' gateway address in cross-platform-friendly fashion. on linux might consider looking @ using netlink sockets, described in this post.
Comments
Post a Comment