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

[REBOL] Re: direct http port access for web proxy

From: rebolinth:nodep:dds:nl at: 6-Apr-2002 12:25

Hiya anton, I did some sniffing and found this in the rebol/core manual: The copy function will return none when all data have been read from a port. When running in /nowait mode, the copy function will return an empty string if no data is available for the port. tp: open/direct/binar/nowait tcp://system:8000 content: make binary! 1000 while [wait tp data: copy tp] [append content data] close tp (R)egards, Norman.