This commit is contained in:
Simon Cruanes 2024-02-20 20:26:37 -05:00
parent 101d15f874
commit a8f874e4ab
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
4 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,5 @@
run echo client -p 1235 -n 10 --n-conn=2 -j=4
listening on port 1235 listening on port 1235
run echo client -p 1235 -n 10 --n-conn=2 -j=4
all done all done
connecting to port 1235 connecting to port 1235
read: hello 1 read: hello 1

View file

@ -1,5 +1,5 @@
run hash client -p 1234 -d ../../src --n-conn=2 -j=4 --ext .ml
listening on port 1234 listening on port 1234
run hash client -p 1234 -d ../../src --n-conn=2 -j=4 --ext .ml
../../src/core/background_thread.ml: 6d5c624dac304cf82ffa6f738516ec9a97aba297 ../../src/core/background_thread.ml: 6d5c624dac304cf82ffa6f738516ec9a97aba297
../../src/core/background_thread.ml: 6d5c624dac304cf82ffa6f738516ec9a97aba297 ../../src/core/background_thread.ml: 6d5c624dac304cf82ffa6f738516ec9a97aba297
../../src/core/background_thread.pp.ml: 6d5c624dac304cf82ffa6f738516ec9a97aba297 ../../src/core/background_thread.pp.ml: 6d5c624dac304cf82ffa6f738516ec9a97aba297

View file

@ -2,7 +2,10 @@
PORT=1235 PORT=1235
./echo_server.exe -p $PORT & ./echo_server.exe -p $PORT &
if [ "x$?" != x0 ]; then exit 1 ; fi
sleep 0.9
echo "run echo client -p $PORT $@" echo "run echo client -p $PORT $@"
export LC_LANG=C export LC_LANG=C

View file

@ -2,7 +2,9 @@
PORT=1234 PORT=1234
./hash_server.exe -p $PORT & ./hash_server.exe -p $PORT &
if [ "x$?" != x0 ]; then exit 1 ; fi
sleep 0.9
echo "run hash client -p $PORT $@" echo "run hash client -p $PORT $@"
export LC_LANG=C export LC_LANG=C