Login  
Search All Forums
Dart Home | PowerTCP Ping Enterprise for Ax | Custom Development Reply | PowerTCP Ping Enterprise Tool Topics | Forums   
AuthorForum: PowerTCP Ping Enterprise Tool
Topic: Sending multiple pings in a loop?
Tarik Habib

From: Casablanca, Morocco
Posts: 4
Member Since: 11/14/03
posted August 26, 2004 4:22 PM

So if I have my code in a loop, sending asynchronous pings using StartEcho, and get the responses in EchoComplete, how do I match up the right response with a particular echo?
Alex Gladshtein



From: Rome, NY USA
Posts: 131
Member Since: 12/27/00
posted August 26, 2004 4:26 PM

You have a state parameter that allows you to pass any data you want into the StartEcho method and that data will be returned to you in the EchoComplete event. Internally we will properly match an echo request with the response, which is crucial when there are many outstanding pings, but if you need your own matching technique, that is the best way to do it.
Reply | PowerTCP Ping Enterprise Tool Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX