netstat can show all open ports. Does it do trial and error on all port numbers? Or does the OS know and MS has not published how to get the information?
There are possibilities to retrieve windows internal informations, but they are out of scope of a socket component. The IP Helper API has functions to get such informations: GetTcpTable. See http://msdn.microsoft.com/en-us/library/aa366073(v=VS.85).aspx for more details.
-- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be