title: CSocket doesn't receive OnClose or OnReceive when you disable network connection on the client side
body: <p>I've created a client server application with c++ CSocket. when I connect the client to the server and after that I close the client with normal X button or end task it with taskmanager , server CSocket receives the OnClose event. The problem is when I disable the internet connection on windows that the client is running on, server CSocket doesn't receive the OnClose nor OnReceive event!</p>
  
  <p>Is anyone possibly know what's going on?</p>
  
  <p>Update: I've just tested and saw that client didn't recieve the OnClose too! I disabled the internet connection on the windows that the client is running on!</p>