esnet / esnet/iperf

--bidir option bidirectional udp fails with "iperf3: error - unable to read from stream socket: Resource temporarily unavailable" on Windows

Open
#1,354 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.8k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

# Context

* Version of iperf3: iperf 3.11 (cJSON 1.7.13)

* Hardware:
Intel(R) Xeon(R) CPU E5-2680 (server)
Intel Celeron Dual-Core (client)

* Operating system (and distribution, if any):
Ubuntu22.04 x64(client)
Windows 10 21H2 x64(server)

_Please note: iperf3 is supported on Linux, FreeBSD, and macOS.
Support may be provided on a best-effort basis to other UNIX-like
platforms. We cannot provide support for building and/or running
iperf3 on Windows, iOS, or Android._

* Other relevant information (for example, non-default compilers,
libraries, cross-compiling, etc.):

I know iperf3 doesn't support windows, but I want to know why bidirectional udp fails?

# Bug Report

* Expected Behavior

I hope to add the --bidir option, it can also be tested normally like the default option

![image](https://user-images.githubusercontent.com/54659396/173979087-dc10b43c-17d0-4a2c-ae91-111113155fb9.png)

* Actual Behavior

After adding the --bidir option, it displays "socket: Resource temporarily unavailable"

![image](https://user-images.githubusercontent.com/54659396/173979431-e2b28c05-7df1-492a-9bc5-e5076899bdc1.png)

* Steps to Reproduce

Build iperf3 on Windows.
Use the `iperf3 -c -u --bidir` command on the client to connect to the server

![image](https://user-images.githubusercontent.com/54659396/173980841-2e6d1080-03b7-4375-8be0-e286b56ef3c9.png)

But, use Windows client to connect to Linux server, very stable.

![image](https://user-images.githubusercontent.com/54659396/173982076-8347e957-b7b1-4007-b105-56312b16113b.png)

Windows successfully connects to Linux, but Linux fails to connect to Windows. In theory, isn’t it interoperable?

Can someone tell me what is the reason for this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.