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

[REBOL] Re: No-wait

From: andreas:bolka:gmx at: 23-Feb-2004 23:07

Monday, February 23, 2004, 9:47:33 PM, Paul wrote:
> However, I was using the small reference of code to demonstrate the > blocking aspect of the port despite no-wait. So I have a fix for my > problem but not a good definition of what no-wait does. From /core > docs: > Nowait port will not wait for data > However it seems that the port does sit and wait.
It does not. 'wait will not block on the client port, but only on the server port. Use 'wait on the server port with a timeout value (e.g. 0.02) if you don't want to block while waiting for a client to connect. -- Best regards, Andreas