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

[REBOL] Network Port Problem

From: rsnell::webtrends::com at: 27-Oct-2000 10:13

Using /Core (NT4): I want a simple server that just retrieves lines from client and displays them. Here is what I have open in one Rebol session: server-port: open/lines/direct tcp://:5599 forever [ cp: first wait server-port forever [ 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 data: 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: str: "line1^/line2^/line3^/" insert p str DOESN'T WORK - only "line1" is displayed in server. The other lines are not displayed 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. TIA, Rodney