I want to create a server/client game in XNA 4.0 using lidgren where the client can list available servers/hosts and choose which server to join.
How can i use DiscoverLocalPeers or Client.DiscoverLocalPeers(40012); function to return a list of servers discovered. I am assuming the function looks for available server using the same port but i would like to list available servers using the port incase there more than one server. Is it possible or is my understanding of the function wrong.
Your help would be greatly appreciated