[REBOL] Network Port Problem
From: rsnell::webtrends::com at: 27-Oct-2000 10:13
Using /Core 126.96.36.199.1 (NT4):
I want a simple server that just retrieves lines from client and displays
Here is what I have open in one Rebol session:
server-port: open/lines/direct tcp://:5599
cp: first wait server-port
d: wait cp
if error? try [print first cp] [close cp close server-port halt]
Cool - running fine. Open another Rebol console, connect and insert some
p: open tcp://localhost:5599
insert p "line1^/"
insert p "line2^/"
insert p "line3^/"
Cool - works great - server prints out "line1" "line2" and "line3" strings.
Now do this in client console:
insert p str
DOESN'T WORK - only "line1" is displayed in server. The other lines are not
until I close the client port (close p).
What am I doing wrong?
PLEASE only give me solutions for released /Core. The xper is useless since
it is timed out.