From bb4d163b4083e370ce8d8aadd3eb6c9c207c0e0b Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 9 Sep 2024 17:04:35 +0200 Subject: [PATCH] delay so other clients can connect to tcp server in test.spl --- test.spl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test.spl b/test.spl index cdea71c..93c2a62 100644 --- a/test.spl +++ b/test.spl @@ -180,6 +180,8 @@ func main { int | with args ; def client "localhost" 4075 StreamTypes:tcp:create =client 1024 client:read-to-end:to-str 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 }