0

I searched but it`s difficult to understand.

I just need a function that gets adapter name & returns its default gateway (windows & linux). That`s it.

Thanks. Ya Ali.

  • http://stackoverflow.com/questions/18495619/how-to-get-all-network-interface-name-and-information-in-c – John Zwinck Apr 15 '14 at 14:16
  • Hello dear John. I need DG in both windows & linux OS – Mohammad Reza Ramezani Apr 15 '14 at 14:19
  • http://stackoverflow.com/questions/1738733/how-to-get-internal-ip-external-ip-and-default-gateway-for-upnp and http://stackoverflow.com/questions/10513704/linux-c-find-default-gateway-ip-address-rather-than-parsing-proc-filesystem – John Zwinck Apr 15 '14 at 14:26

0 Answers0