I figured it out:

either wait [0 port] [


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 09, 2000 10:27 PM
Subject: [REBOL] listen ports


> How do I know if I have a message to read in my listen port or not?
> 
> port: open tcp://:8000
> either ???-what goes here?-??? [
>   io-port: first port
>   print copy io-port
>   close io-port
>   ][
>   print "Nothing to see here..."
>   ]
> close port
> 
> 
> Thanks for any help,
> Max
> 
> 

Reply via email to