Begin the code of receive.