471,357 Members | 1,086 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,357 software developers and data experts.

An unhandled win32 exception occurred in TcpServer.vhost.exe [5196

I have a TCP/IP client and server I have written in c# using sockets and
asynchronous methods. I am having a problem with the server if a client is
closed without explicitly disconnecting from the server, I had previously
fixed this in VS 2003 by detecting a 0 byte message in the server
asynchronous receive method and then cleaning up and closing the connection.
However I have recently moved to VS 2005 and when the exception happens I
can’t find a way of catching it in my code.

I'm hoping one of the MVP chaps will have the answer to this one.

Jul 21 '05 #1
0 2926

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Professor Frink | last post: by
28 posts views Thread by dcrespo | last post: by
1 post views Thread by SQLJunkie | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.