A
Anil K. Gupta
Hello,
I am developing an application similar to MSN Messenger using C#.Net.
I am using the Frameworks' System.Net.Sockets class for creating
sockets and then communicating.Everything seems to work fine when
there is internet connection, but once the application is started and
then if there is a breakdown in the network then the application is
getting terminated unexpectedly. I tried to handle the exceptions but
nothing is working. The application is throwing
"System.Net.Sockets.SocketException-An existing connection was
forcibly closed by Remote host" exception. Someone please guide me on
this and as well as catching any kind of unexpected exceptions that
occur in Windows Applications.
Thank you in Advance,
Anil K Gupta
I am developing an application similar to MSN Messenger using C#.Net.
I am using the Frameworks' System.Net.Sockets class for creating
sockets and then communicating.Everything seems to work fine when
there is internet connection, but once the application is started and
then if there is a breakdown in the network then the application is
getting terminated unexpectedly. I tried to handle the exceptions but
nothing is working. The application is throwing
"System.Net.Sockets.SocketException-An existing connection was
forcibly closed by Remote host" exception. Someone please guide me on
this and as well as catching any kind of unexpected exceptions that
occur in Windows Applications.
Thank you in Advance,
Anil K Gupta