added the SendAndReceivePackets so that it is easy to send/receive in multiple scenes