Ports/Sockets

quwiltw

Well-known member
Joined
Sep 18, 2001
Messages
486
Location
Washington, D.C.
Anyone know how to get a list of all machines in the local broadcast domain that is listening on a particular port? I want to populate a combo box with all of the active sql servers on our domain. I know what port it listens on but I dont know how to send out a broadcast request for any computers that happen to be listening on that port. Its just like when you register a new sql server in enterprise manager and it comes up with a list of available servers. All the .NET framework classes Ive found support more point to point socket connections rather than more of a querying the network-type thing. Any pointers would be appreciated. Thanks,
 
Back
Top