[hunchentoot-devel] How to distinguish between two servers running same dispatch functions

Edi Weitz edi at agharta.de
Wed Dec 27 12:13:28 UTC 2006


[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



More information about the Tbnl-devel mailing list