[hunchentoot-devel] How to distinguish between two servers running same dispatch functions
Jeffrey Cunningham
jeffrey at cunningham.net
Wed Dec 27 15:52:10 UTC 2006
On Wed Dec 27, 2006 at 01:13:28PM +0100, Edi Weitz wrote:
> [Please use the mailing list.]
>
> On Tue, 26 Dec 2006 08:58:28 -0800, Jeffrey Cunningham <jeffrey at cunningham.net> wrote:
>
> > I must be missing something. From the handler, isn't one server
> > object indistinguishable from another?
>
> Huh? If you call START-SERVER, a SERVER object is returned, and you
> should better keep it anyway as you'll need it for STOP-SERVER. You
> can use EQ to compare this object with the contents of *SERVER*, can't
> you?
>
> > It can't access, say, the SERVER-PORT to tell which server has
> > called it.
>
> http://weitz.de/hunchentoot/#server-local-port
> http://weitz.de/hunchentoot/#server-address
>
Sorry, Edi. I thought I did send my email to the list. I must have hit
'reply' (most lists I belong to have show the sender as the list).
And I didn't see the SERVER-LOCAL-PORT function.
Thanks.
-Jeff
More information about the Tbnl-devel
mailing list