Re: [Jprogramming] sdselect timeout vs documentation

2021-11-18 Thread Michal Wallace
Well I'm an idiot. Thanks. :D On Thu, Nov 18, 2021 at 12:16 PM Hauke Rehr wrote: > Watching the video (currently at 3:46:??), I guess, it’s waiting > each time ws_onstep_jws is called. But only one in three calls, > TICK gets echoed. That’s where the factor of 3 comes in. > > Am 18.11.21 um 01:3

Re: [Jprogramming] sdselect timeout vs documentation

2021-11-18 Thread Hauke Rehr
Watching the video (currently at 3:46:??), I guess, it’s waiting each time ws_onstep_jws is called. But only one in three calls, TICK gets echoed. That’s where the factor of 3 comes in. Am 18.11.21 um 01:39 schrieb Michal Wallace: I noticed something odd while working with net/websocket today.

[Jprogramming] sdselect timeout vs documentation

2021-11-17 Thread Michal Wallace
I noticed something odd while working with net/websocket today. It seems sdselect takes a timeout as its fourth parameter, and the wiki seems to indicate that this is meant to be the timeout for the entire sdselect call. However, in practice, the timeout is spent for each of the other three param