test 3000 clients

This commit is contained in:
asus
2023-02-20 12:44:31 +01:00
parent 6fb2d64bdc
commit 3ed006b652

View File

@@ -96,14 +96,14 @@ launch_client "$text"
stop_last_client
## # # # # # # # # # # # # # # # # # # # # # # # # #
# #
#for i in {1..3000}
#do
# nc localhost "$port" 2>&1 &
# kill -KILL $(pidof nc | tr ' ' '\n' | head -n1)
#done
for i in {1..3000}
do
#launch_client
nc localhost "$port" 2>&1 &
stop_last_client
done
echo ""
echo "done"