[REBOL] Re: remote-ip in RebXR
From: compkarori:g:mail at: 22-Jul-2009 11:18
Andreas
Can you put the patch on your site? Ecartis strips out binaries.
On Wed, Jul 22, 2009 at 11:10 AM, Andreas Bolka<andreas.bolka-gmx.net> wrote:
> Graham,
>
> On Tue Jul 21 23:30:13 +0200 2009, Graham Chiu wrote:
>> I wanted to use it within an exposed method.
>
> Well, that'll require a change to the server. Please give attached patch
> a try, it allows you to get an "xmlrpc context" by calling
> 'xmlrpc-context. Such a context currently only has a single field:
> 'client-port. An example exposed method, to illustrate usage:
>
> =A0 =A0foo: func [/local ctx] [
> =A0 =A0 =A0 =A0ctx: xmlrpc-context
> =A0 =A0 =A0 =A0mold ctx/client-port/remote-ip
> =A0 =A0]
>
> The patch is against the "2004-09-19 experimental release".
>
Is that going final anytime ? :)
> -- Binary/unsupported file stripped by Ecartis --
> -- Type: application/octet-stream
> -- File: client-port.patch
>
--
Graham Chiu
http://www.synapsedirect.com
Synapse - the use from anywhere EMR.