In C++, I'm using the callback mechanism in the Server to setup some per-client 
state (using thread-specific data) that is then accessed in the handler.  It's 
not the cleanest API, but you can get a pointer to the protocol and then a 
pointer transport, dynamic cast that to a Tsocket, and if that succeeds, you 
can get information like the hostname/ip address of the client connection as 
well.

-Dave


On 6/16/08 5:29 PM, "David Reiss" <[EMAIL PROTECTED]> wrote:

Ben Maurer and I came up with
what I think is a pretty clean way to pass this data to the handler,
but it would be backwards incompatible at the source level, and would
also be a fair amount of work.

Reply via email to