dannagle / PacketSender

Network utility for sending / receiving TCP, UDP, SSL, HTTP
https://packetsender.com
GNU General Public License v2.0
2.38k stars 371 forks source link

packetsender.exe --usdelay 500000000 --name "TCP screen red" #304

Closed mickae1 closed 1 year ago

mickae1 commented 1 year ago

What OS?

Description of issue

THis command doesn't send a TCP message as it is configured, but a UDP message ....

but this command work: packetsender.exe --name "TCP screen green"

It send a tcp message as configured

Can you make the parameter --usdelay work with tcp message ?

dannagle commented 1 year ago

The intense traffic generator tool (both GUI and CLI) only supports UDP. I have no control over speed with TCP (at least not in user mode where Packet Sender operates), so there are no plans to support it.

mickae1 commented 1 year ago

Why cant you do that ?

Do Tcp connect Tcp send Tcp close Sleep While

Le jeu. 12 janv. 2023, 17:11, Dan Nagle @.***> a écrit :

The intense traffic generator tool (both GUI and CLI) only supports UDP. I have no control over speed with TCP (at least not in user mode where Packet Sender operates), so there are no plans to support it.

— Reply to this email directly, view it on GitHub https://github.com/dannagle/PacketSender/issues/304#issuecomment-1380640278, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAHMCDW7BP5SVFWFPFJ3MTWSAULPANCNFSM6AAAAAATY7IQWI . You are receiving this because you authored the thread.Message ID: @.***>

dannagle commented 1 year ago

That loop isn't bandwidth, which is what the traffic generator tool is trying to manipulate. For TCP, each step requires an ACK. The transfer speed is also negotiated and auto-adjusted during the session. Then there is the problem if connection fails or the server is not present (causing connection timeouts).

Your 500 second example is not really the intended use of the traffic generator tool. If you need 500 seconds and separate connection attempts, your example would be better served not using the intense traffic generator and having a simple loop outside of packetsender CLI or using the GUI with 500 as the resend delay.