Skip to content

It can't support concurrent connection? #13

@notcomsed

Description

@notcomsed

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions