Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] polling ports with 'wait'

From: alfred_pang::inetco::com at: 11-Aug-2000 10:20

Hello, In version 2.2 core, I used to have something like this to instantly poll a TCP connection if it has any data: wait [0 conn] If there is no data, then none was returned; otherwise there is data on the connection. I haven't been able to figure out the right thing to do in 2.3 core; 'wait [0 conn]' always returned none even if there is data available. Any ideas on how to do it in 2.3? -Alfred