Recv() and recvMessage() return error