Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support parallel UDP streams under Windows and Cygwin #1163

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

davidBar-On
Copy link
Contributor

@davidBar-On davidBar-On commented Jun 13, 2021

Suggested change to allow UDP parallel streams under Windows (and Cygwin). The change is based on the approach suggested by @rossro, as described in this #472 comment.

The change adds an option to the Windows Server's -p parameter that defines the number of ports available starting with the defined port :
-p <port>/[<num of ports]

E.g -p 5201/2 specifies that ports 5201 and 5202 can be used for the UDP streams.

UPDATE (16-Apr-2023):

Updated to be fully backward compatible, including between Windows and other OS (including rebase to 3.13). This is by adding a UDP_CONNECT_REPLY_NEXT_PORT from a Windows server, to indicate that a different port should be used for the next UDP stream. The only combination that does not work is a Windows Server with older client version when multi UDP streams are used. However, this did not work anyway (just the error condition is changed).

@bmah888 bmah888 changed the title Support parallel UDP stearms under Windows Cygwin Support parallel UDP streams under Windows Cygwin Jun 25, 2021
@bmah888 bmah888 linked an issue Jun 25, 2021 that may be closed by this pull request
@davidBar-On davidBar-On force-pushed the issues-472-1161-cygwin-parallel-udp-stearms branch from 022772d to 52a4703 Compare April 16, 2023 10:12
@davidBar-On davidBar-On changed the title Support parallel UDP streams under Windows Cygwin Support parallel UDP streams under Windows and Cygwin Apr 16, 2023
@davidBar-On davidBar-On force-pushed the issues-472-1161-cygwin-parallel-udp-stearms branch from 52a4703 to 962c4c1 Compare September 29, 2024 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iperf3 -c 127.0.0.1 -i1 -t 9999 -b50M -u -p5003 -d -P2 -V failed
2 participants