Crash when NLog TCP source disconnects

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Crash when NLog TCP source disconnects

Robert Neumann
This post was updated on .
I have two client applications connecting to Log4View through TCP/IP and using the NLog format. Log4View will often crash when one of the applications disconnects.

Exception details:
System.Net.Sockets.SocketException
  HResult=0x80004005
  Message=Eine vorhandene Verbindung wurde vom Remotehost geschlossen
  Source=System
  StackTrace:
   at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)