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

[REBOL] Re: Back to the Advanced Port stuff again

From: holger:rebol at: 11-Jan-2001 12:30

On Thu, Jan 11, 2001 at 07:29:59PM +0200, Gabriele Santilli wrote:
> I'd suggest you to change your approach; in a similar script I'm > using a block of objects (users), each of them has a PORT word > referring to its port; PORT/LOCALS is set to refer back to the > user object, so that you can access the user from the port too > (when you receive a message from the port).
Please don't use port/locals for that. port/locals is used internally by many protocols (http, ftp etc.), and will be used by even more protocols (including plain TCP in async mode) in the future. The appropriate place for user references in ports is port/user-data. All current experimental builds should have this field in ports. -- Holger Kruse [holger--rebol--com]