[REBOL] Re: rugby with multiple interfaces
From: jvargas:whywire at: 11-Mar-2003 11:33
Hi Maarten
Specifying the stubs with a refinement will be good as a temporary
solution.
However I will prefer to see the server being able to figure out the IP
of
the client and responding accordingly as Gabriele has suggested.
With your suggestion calling on a specific IP address will make the code
look like this.
ip-server: read dns://rugby-server.domain.dom
get-rugby-service/use-ip-address http://rugby-server.domain.dom
ip-server
Which is a bit convoluted. Maybe it would be a better solution to do
the lookup
and do the use-ip-address association inside get-rugby-service function.
This way you don't need modify the server code.
You could still leave the use-ip-address refinement for the case where
one
wants to get the list of services through one IP, but do the remote
calls through
another.
BTW thanks for such a solid piece of code.
-- Jaime
On Tuesday, March 11, 2003, at 02:45 AM, Maarten Koopmans wrote: