stefano-garzarella / iperf-vsock

iperf3 with AF_VSOCK support: A TCP, UDP, SCTP, and VSOCK network bandwidth measurement tool
Other
23 stars 10 forks source link

Support MacOS for VSOCK over AF_UNIX #3

Open DUOLabs333 opened 2 months ago

DUOLabs333 commented 2 months ago

Currently, it seems that only Linux hosts can use iperf as a vsock server of UNIX pipes. While MacOS can't act as vsock clients, there seems to be no restriction preventing them from acting as vsock hosts (over UNIX pipes).

stefano-garzarella commented 2 months ago

@DUOLabs333 thanks for the report. Yep, HAVE_VSOCK macro depends on linux/vm_sockets.h, so we may use it better to support other hosts.