On Friday 22 January 2016 02:25:47 jaekeun lee wrote:
> I didn't say that change the mechanism.
> I said, support the additional API for set to port number and sid or
> di(variable name is sid)  is very useful and helpful. 
> The experience depends on how the application is written
> How can fix this issue?
> - Presence Check -> Re-Discovery -> Check saved DI & discovered DI -> change
> target's IP/PORT or
> - re configure every run
> These are very inconvenience .
>  
> But, if server can set port, then re-configure only when server not work(may
> be ip changed or port occupied). 
> Just additional API.

Forget the port number. If your other side is trying to depend on the port 
number, please redesign it. You cannot count on the port number being free, so 
your other side must be able to deal with the port number changing.

For that matter, the IP might change after a reboot. Or even without a reboot: 
IPv6 temporary addresses change about once a day. Since you can't count on the 
IP being fixed, port numbers don't identify anything.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Reply via email to