Click here to Skip to main content
15,917,731 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello coders,

how can I find the nearest neighbor server in my network? Is there any way to find them? Please answer me.

Thanks in advance
Posted
Updated 20-Dec-10 2:13am
v3
Comments
JF2015 20-Dec-10 8:10am    
Edited to correct spelling mistakes.
Manfred Rudolf Bihy 24-Dec-10 12:50pm    
Have you made any progress in this yet?

1 solution

It all depends on what is already known and how you define nearest neighbor. If the nearest neighbor server is the one that is the least number of TCP hops away from you and the list of servers available is known I would suggest you use this Traceroute implementation found here on CodeProject: http://www.codeproject.com/KB/IP/tracert.aspx[^].
With the help of this component you can determine how many hops another computer is away from you.


Best Regards,


Manfred
 
Share this answer
 
v2
Comments
Dalek Dave 24-Dec-10 16:12pm    
Good Call.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900