title: How to I find out when my WCF server has exited (and closed it TCP connection)
body: <p>I am using the nettcpbinding binding (with reliably messaging at present).</p>
  
  <p>When the server does a <strong>serviceHost.Close()</strong>, the TCP connection should be cleanly closed and therefore the client side should be told.   <strong>How do I hook this event with WCF?</strong>  (Note this is not the same as the TCP connection being closed by a network problem, when reliably messaging may be able to recreate the connection)</p>
  
  <p>If the server calls serviceHost.Abort() , then the client will never be able to send it another message, so I would expect some event to be raised after all the retry timeouts.</p>
  
  <p>(The <em>IChannel.Faulted</em> and <em>IChannel.Closing</em> events do not get fired on the client side)</p>