Thanks for help. I will look into your code.
Meanwhile, I am having a problem with my TCP devices that I am reading from using winsock controls. The problem is that sometimes the device is getting closed for unknown for me reason. Unfortunately the winsock shows its state = 7 anyway. Is there a way to catch the problem programmatically, you think?
Thanks
>Mark,
>
>Not a direct answer to your question, but you should try to implement the class's events instead. If Jay jumps in he can probably give you exact code to do it, as is my understanding he wrote some code not long ago, but maybe this message and thread can get you started on how to do it Message #
1249699