Hi,

looking at following example I have two questions ....

server: open tcp://:8000
                      input-buffer: make string! 1024
                      while [true] [
                        server-port: first server
                        while [true] [
                          wait server-port
                          insert input-buffer copy server-port
                          break
                        ]
                        close server-port
                        print input-buffer ;- or otherwise process the
data
                        clear input-buffer
 ]

1)
Why 'first apllied to 'server waits withou the timeout, while first
applied to server-port causes timeout?

2)
What is the second while loop good for, as it breaks everytimes after
first iteration?

There is also one type IIRC and will send it to feedback ...

Thanks,

-pekr-


Reply via email to