Revision control
Copy as Markdown
Other Tools
#!/bin/bash
CURDIR=$(dirname $0)/
TESTDIR=$CURDIR/..
CLIENT=$CURDIR/client/client
KEYFILE=$CURDIR/client/otr.key
MAX_MSG=20
MAX_INTERVAL=500 # msec
source $TESTDIR/utils/tap/tap.sh
diag "Messaging with random interval of max $MAX_INTERVAL and fragmentation"
$CLIENT --load-key $KEYFILE --timeout $MAX_INTERVAL --max-msg $MAX_MSG --fragment