Ethernet IP Address


I have a server application that sends rci request to a ConnectPort X4. Is there a way to determine the ethernet ip address in python so that the ConnectPort can register itself with the server? So far I only set the ip by hand in the code.


The safest/offical method is use of RCI commands (and the rci module):

The ‘boot’ settings group will show you the current Ip address. The response is XML, but given its smal size you can just use string FIND() to locate your 1 desired value.