Winsck: Runtime Error '40006'?
I wrote a chat program using the winsck control. I have noticed that if a client connects and then stays connected for an extended period of time (2+ hours) then the server app. crashes with the following error:
----------------------------------------------------------------------
Runtime Error '40006'
Wrong protocol or connection state for the requested transaction or request.
----------------------------------------------------------------------
Any one have any ideas on how to fix this? Or better yet what Sub would I need to add an 'On Error goto ....' line of code to trap this error?
Thanks!