Oops -- the Windows function is closesocket, not socketclose