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

It can't support concurrent connection? #13

Open
notcomsed opened this issue Mar 26, 2023 · 0 comments
Open

It can't support concurrent connection? #13

notcomsed opened this issue Mar 26, 2023 · 0 comments

Comments

@notcomsed
Copy link

Hi

I use iperf test for concurrent connections.

but the second connection was not get data.

iperf concurrent connection with only 2.

so,it can't be concurrent connection?

If I use Ctrl+c to quit first iperf,It will show error with "build_tunnel: connect(): Connection refused".

I start tcptunnel with:

./tcptunnel --local-port=8080 --remote-port=8888 --remote-host=127.0.0.1 --bind-address=127.0.0.1 --stay-alive

And start iperf with:

iperf -s -p 8888 -B 127.0.0.1


use a bash command to test:

iperf -c 127.0.0.1 -p 8080 -t 60 &
iperf -c 127.0.0.1 -p 8080 -t 60 &

If I use nc -l -p 8888, and start nc 127.0.0.1 8080 to use first connection, after that use iperf -s -p 8888 -B 127.0.0.1 to use second connection. nc will work perfectly, but iperf will not get data.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant