Record tx and rx.