Both sender and receiver print out appropriate data when sending/receiving a packet