On 2/25/2014 09:17, Warren Young wrote: > because it wants you to call recv() one last time and get -1, which is > how BSD sockets (and Winsock) signal that condition. I meant 0, of course.