Skip to contentSkip to conversation

netstress: Update help for -m behavior for client and server

PATCH New Petr Vorel 1 participant 1 message Aug 27, 2018

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/2 netstress: Update help for -m behavior for client and server

Hi Alexey,

...

Quoted 4 lines

Review

Quoted 2 lines
(quoted diff) +1 -1
-	{"m:", &Targ, "-m x     Reply timeout in microsec."},
+	{"m:", &Targ, "-m x     Reply timeout in microsec (for udp, udp_lite, dccp is timeout always 100 microsec)"},

The timeout value not in microseconds, but in milliseconds.

Sorry, I forget to change in 2069fe8ea.

Quoted 8 lines

Review

Quoted 1 line
(quoted diff) +1 -0
+	{"m:", &Targ, "-m x     Connect timeout in microsec (only for udp, udp_lite)"},

This is misleading actually, connect is for the client...

Why not to stick with what we had already discussed some time ago, something like this?

"-m x Receive timeout in milliseconds (not used by UDP/DCCP client)"

Make sense, fixed this way. Thanks!

Kind regards,
Petr