Using the example in demo/callback for python, if I want to log every callers hostname or IP address, what routine/method do I need to invoke to get those information.
|
|
Using the example in demo/callback for python, if I want to log every callers hostname or IP address, what routine/method do I need to invoke to get those information.
Hi,
In your servant, you can obtain a description of the incoming connection like this:
Take care,Code:def myOperation(current=None): if current: puts current.con.toString() else: puts "local invocation"
- Mark
There are currently 1 users browsing this thread. (0 members and 1 guests)