Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System.Net.Sockets.SocketException when closing NamedPipeClientStream

After I try to close a pipe client, I see the following error in the output console:

A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll

What does it mean? How can I fix it?

like image 749
Erik Sapir Avatar asked Jul 25 '26 06:07

Erik Sapir


1 Answers

See http://blogs.msdn.com/b/davidklinems/archive/2005/07/12/438061.aspx for an explanation of the "first chance exception".

What is a first chance exception?
When an application is being debugged, the debugger gets notified whenever an exception is encountered At this point, the application is suspended and the debugger decides how to handle the exception. The first pass through this mechanism is called a "first chance" exception.

Depending on the debugger's configuration, it will either resume the application and pass the exception on or it will leave the application suspended and enter debug mode. If the application handles the exception, it continues to run normally.

like image 112
C.Evenhuis Avatar answered Jul 27 '26 18:07

C.Evenhuis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!