There are various implementations. I am using nmap-ncat on rockOS 8 on both hosts.
Netcat's using TCP by default and this test is not limited by disk I/O from what I understood. That said, it is not
A quick & dirty solution that is available on most Linux hosts.