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

[REBOL] Re: Rugby RIM?

From: m:koopmans2:chello:nl at: 23-Sep-2001 10:15

This is correct. A rexec is a blocking call. Using /deferred may help, but then you have to poll later. What I was thinking is to have all RIM being both server and client: then clients send each other messages by calling functions on each other. As the connection is already established for a server, the receiving party will hardly notice any blocking behaviour. And if you are sending stuff it is not as bad if you have to wait a little. You can cut the waiting time while sending by using the /oneway refinement. When using /http the oneway and deferred tricks don't work, but pusing messages in stead of polling shouldn't be a problem in P2P.. HTH, Maarten