Skip to content

Commit

Permalink
Add udp wrapper script
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwiedemann committed Oct 19, 2020
1 parent a5c01cd commit 4c0b648
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions send.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
export port
timeouts=0
for i in $(seq 1 10) ; do
for port in $(seq 40010 40020) ; do
echo $i $port
timeout 0.2 ./testsend.pl
[ $? != 0 ] && let timeouts++
done 2>&1
done

echo "timeouted $timeouts times"

0 comments on commit 4c0b648

Please sign in to comment.