E
Eirikur Hallgrimsson
Okay, I've banged my head against this for about three days on and off.
The client's IP is passed to my handler in the non-threaded case.
It's not in the threaded case, which is actually rather different with a
couple of mixin classes mixing things up. I'm not confused, it's not
passed.
I can't figure out how to get the client IP address at all from inside
my program. I can reach the socket object via my server object, but the
connection has been dropped before my handler is called.
Any help or pointers would be appreciated. At this point I think I
would need to make changes in SimpleXMLRPCServer, or write a
replacement, which doesn't appeal to me.
Thanks,
Eirikur
The client's IP is passed to my handler in the non-threaded case.
It's not in the threaded case, which is actually rather different with a
couple of mixin classes mixing things up. I'm not confused, it's not
passed.
I can't figure out how to get the client IP address at all from inside
my program. I can reach the socket object via my server object, but the
connection has been dropped before my handler is called.
Any help or pointers would be appreciated. At this point I think I
would need to make changes in SimpleXMLRPCServer, or write a
replacement, which doesn't appeal to me.
Thanks,
Eirikur