Fork me on GitHub
#aleph
<
2019-07-14
>
runeb02:07:46

Trying to get timeouts to work in tcp server. Following examples and documentation, yet

(s/connect a b {:timeout 5000})
never times out (according to doc, this would be a 5 second timeout). I connect to the server by regular telnet from terminal, but I am never kicked off. Anyone have a clue what goes south?

hiredman05:07:23

Timeout there likely means tcp socket timeout

hiredman05:07:29

Which is below the level of say telnet

runeb08:07:55

@hiredman aha.. that might be the reason. A bit unclear from the documentation in that case what is meant by 'timeout'. I will run with this assumption. Thank you for you input!