Hi. I am trying to create a program which would tell me the connection between some equipments in a network. For a example a connection between Switch1 and Switch10. I know that the path from Switch1 to Switch10 goes through some patches and other switches and these switches and patches have connections with some other switches and patches. I hope you get the idea. The connection between every to devices i define it manually. For example Switch1/port1 connects with Patch1/port1, Patch1/port2 connects with Switch2/port1. Having this information I want to determine the path between Switch1 and Switch10 for example. I know that I have to check all the connections for Switch1 with other switches and patches and then for those switches and patches the connections with other switches and patches and so on until one of them connects to Switch10 which is the destination. The idea is how to put this in a code because I have to create arrays of arrays of arrays. Also, every connection between to devices has a connection id, to identify it. At least this is how i see it. Any information and tips about how to do this would be helpful. Thank you.
alexia_net 0 Newbie Poster
jkon 638 Posting Whiz in Training Featured Poster
alexia_net 0 Newbie Poster
mschroeder 251 Bestower of Knowledge Team Colleague
alexia_net 0 Newbie Poster
alexia_net 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.