0

As for the part of my final year project I want to get a list of IP addresses of all the active routers in the network so that I can obtain it IPv6 status via getaddrinfo with the AI_ADDRCONFIG flag.

The current implementation of getaddrinfo works with 1 IP at a time and I need to change the IP from the source each time need to check another one. My aim is to create a list of IP address of active routers and parse the IP addresses to the getaddrinfo method.

I would be really grateful if you experts would point me to any references or provide any sample code segments to get all the IP addresses of active routers within a network.

PS: I found similar posts (Find out IP of all active machines on network) on this topic in stackoverflow but these did not help me as they were for java and android and slightly off topic than mine ().

Community
  • 1
  • 1
Hasitha Shan
  • 2,900
  • 6
  • 42
  • 83

0 Answers0