Closing socket in CheckBytes, BytesRcv < 0, not local server

Continuing the discussion from Closing socket in CheckBytes, BytesRcv < 0:

And what if i have exactly the same problem. But the difference is that the server isn’t on my machine. What do i do?