> Is there a way to programmatically send a ping to a specific port. Port is related to UDP and TCP protocols. Ping use a different protocol named ICMP. ICMP doesn't have port numbers.
This being said, I see two possibilities for you: 1) Use a ping component to ping the standard way. 2) Use a socket component to try to connect to the remote host using TCP and the port you want to check. If connection is successful, then just close the connection immediately. For both, you mays use ICS, ind or sinapse components. You can download full source code for ICS (freeware) from http://www.overbyte.be. Have a look at PingTst sample program. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

