# Crash when NLog TCP source disconnects

**URL:** <https://forum.log4view.com/t/crash-when-nlog-tcp-source-disconnects/123>\
**Category:** Log4View Support\
**Created:** [November 13, 2018, 1:50pm UTC](https://forum.log4view.com/t/crash-when-nlog-tcp-source-disconnects/123 "2018-11-13T13:50:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.log4view.com/images/discourse-logo-sketch-small.png) [@system](https://forum.log4view.com/u/system)\
**Post date:** [November 13, 2018, 1:50pm UTC](https://forum.log4view.com/t/crash-when-nlog-tcp-source-disconnects/123/1 "2018-11-13T13:50:07Z")

</div>

_Guest on Nabble:_ `Robert Neumann`

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)
