Skip to content

Commit 910251a

Browse files
note: some interesting details
1 parent ab2363c commit 910251a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ struct Args {
3333
#[arg(short, long, default_value = "1000-2000")]
3434
ports: String,
3535

36+
/// Number of concurrent connections. Higher values = faster but may miss ports.
37+
/// Recommended: 500-2000 for accuracy. Also limited by ulimit -n.
3638
#[arg(short, long, default_value_t = DEFAULT_CONCURRENCY)]
3739
concurrency: usize,
3840

39-
#[arg(short, long, default_value = "1000")]
41+
/// Connection timeout in ms. Lower = faster but may miss slow services.
42+
#[arg(short = 'T', long, default_value = "1000")]
4043
timeout: u64,
4144

4245
#[arg(long)]

0 commit comments

Comments
 (0)