wrong return order in the RecvPacket call