1. How can I compile a list, quickly, of all the computers online on the same subnet the computer doing the searching is on
How to get All computers running on LAN right now http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1090093&SiteID=1
2. How do I open and maintain connections to multiple "servers" at once, so that they are ready and waiting to receive data
As some other has already suggested you can use IP Multicasting on UDP to send the same message to all those listed computers.
Or if the data to be sent to different computers differ then:
You can create multiple TCP Sockets to connect to each and then each socket will do transfer data to those computer.
(Multiple Sockets because a Socket can accept multiple connecitons at the same time but cannot connect to other Multiple sockets using a single instance)
I hope this will help.
Best Regards,
Rizwan aka RizwanSharp
|