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

[REBOL] Re: Encryption

From: greggirwin:mindspring at: 8-Sep-2003 11:43

Hi Matt, MM> I send a simple message "Hi" MM> i have to do 2 reads on the recieving port, which returns 72 and 105 - both MM> integers. So my question is then, why do I get integers instead of binary MM> data, and if I need to deal with integers and somehow convert them to MM> characters, how do I know when to stop reading from the recieving port? If you could post the code, that would help a lot. There's no way to know how you're doing it otherwise. :) You should just be able to do a COPY on the port (returns NONE when all data has been read). If you're in no-wait mode, you just keep appending data to a buffer until you get an empty string back, which indicates no more data is available. -- Gregg