delay so other clients can connect to tcp server in test.spl
This commit is contained in:
parent
f86c55dd83
commit
bb4d163b40
1 changed files with 2 additions and 0 deletions
2
test.spl
2
test.spl
|
@ -180,6 +180,8 @@ func main { int | with args ;
|
||||||
def client "localhost" 4075 StreamTypes:tcp:create =client
|
def client "localhost" 4075 StreamTypes:tcp:create =client
|
||||||
1024 client:read-to-end:to-str println;
|
1024 client:read-to-end:to-str println;
|
||||||
" ^ this should say 'Hello!'" println;
|
" ^ this should say 'Hello!'" println;
|
||||||
|
"you now have a chance to connect too: localhost:4075 - continuing in 5 seconds..." println;
|
||||||
|
5000 time:sleep;
|
||||||
|
|
||||||
100
|
100
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue