Set IP at runtime instead of hardcoding in the config file

deepanshu_76deepanshu_76 Member Deepanshu SinghOrganization: General ElectricProject: Video Streaming
Hello,

I'm looking for a viable way to set the ip of the device in the Ice runtime, while my program is already running instead of hardcoding in the config file. 

Is there anyway we can eliminate the use of this config file at all?

Here's a snippet of the config file : 

CallbackSender.Proxy=sender:tcp -x xxx.xxx.xxx.xxx

#
# Uncomment to use the WebSocket transport instead.
#
#CallbackSender.Proxy=sender:xx -x xxxxx

#
# Only connect to the localhost interface by default.
#
#Ice.Default.Host=localhost

#
# Warn about connection exceptions
#
Ice.Warn.Connections=1

#
# Network Tracing````
#
# 0 = no network tracing
# 1 = trace connection establishment and closure
# 2 = like 1, but more detailed
# 3 = like 2, but also trace data transfer
#
#Ice.Trace.Network=1

#
# Protocol Tracing
#
# 0 = no protocol tracing
# 1 = trace protocol messages
#
#Ice.Trace.Protocol=1

Ice.MessageSizeMax=20480
Tagged:

Comments

Sign In or Register to comment.