Archived
This forum has been archived. Please start a new discussion on GitHub.
how to capture the callee hostname/IP (IcePy)
in Help Center
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.
0
Comments
-
Hi,
In your servant, you can obtain a description of the incoming connection like this:def myOperation(current=None): if current: puts current.con.toString() else: puts "local invocation"
Take care,
- Mark0