On windows, a recv() call fails if the return value is less than or equal
to zero.  Ticket [66cbcd56a229f33af6b9a6329a7]