Francois,

I do appreciate your response as I am over my head here.

If server socket is connected to a client socket is there any communication
that we can send from the server socket to the client socket that will
prevent intermediate firewalls and routers from timing out.

If you can recommend some of your examples I will look at them. It has been
4 years but I have reinstalled. As an aside it is a pleasure to get back to
Delphi.

Thanks for reply.
grs


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Francois Piette
> Sent: Friday, March 24, 2006 3:10 AM
> To: Borland's Delphi Discussion List
> Subject: Re: ping to specific socket port
> 
> > 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

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to