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

[REBOL] Re: Rugby Question

From: mattsmac:hotma:il at: 30-Oct-2003 8:20

OK, so I'm seeing how the stubs contain the ip-address in the http-port local variable, but how do I get that out and into a useable form? The only thing I can think of is to echo a probe of the server to a file and parse for the http-port, but I'm sure there has got to be a better way than that. Matt -------------------------------- When a server start, it generates "stub" code, code that a client can retrieve and use to connect to a service. So.... get-rugby-service receives this code (essentially a block containing function defs) and you either do them or put them in an object. Now when the stub code is received the client replaces all *http* by the ip address it just used to connect. And when you invoke a function on a get-rugby-service'd retrieved stub it connects back, etc. --Maarten