
| Subject: | Ping Socket Client without 'Ping-Pong' |
| Posted by: | Pera Detlic |
| Date: | Sat, 30 Jan 2010 |
Hi,
Is it possible to ping Socket Clients from idTCPServer (listener) without sending 'Ping' (or any other message) from server and getting reply 'Pong' (or any other message) from Client ?
Why ?
I'm communicating with moving (GPS) GPRS clients with the same IP address (GSM provider assign them same IP but different communication port - offcourse, they all use the same port to connect to Server listener) and I wont to know are they alive or not.
Very often my Server listener have a lot of connections witch are not alive but present - it happens during GPRS problem (week/bad GSM signal.....) so I won't to check those connections with some kind of ping, but I wont to escape 'ping-pong' message interchange.
Is it possibe ?
Thank's