Hello,
I'm trying to use async sockets in a service module:
When all is well I will
- get the Socket Connected event
- Initialize an async stream
- receive a NewData event of the stream
When all is well this works.
However when something fails I would like to restart the procedure by restarting the service after a few seconds.
I know I can set the Timeout property, but how can I react to any timeout (during connection or while waiting for data) ? What events can I write ?
Thanks !!
Wim