How to get client's IP address in the threaded case ofSimpleXMLRPCServer?

  • Thread starter Eirikur Hallgrimsson
  • Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top