mikailoral / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Optimize determination of own IP address #255

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In order to safely determine the own IP address 
(AndroidNetworkFactory.getLocalIpAddress(...)) based on the P-CSCF address to 
be reached the client is currently setting up a socket.

This is rather time consuming and we propose to change the implementation back 
to the initial approach (interating through the list of interfaces) enhanced by 
mechansims to filter those not matching (i.e. wrong interface, loopback device 
or wrong IP version).

If agreed I would provide the according code (already tested at our place).

Original issue reported on code.google.com by andreas-...@telekom.de on 25 Mar 2014 at 9:43

GoogleCodeExporter commented 9 years ago

Original comment by lemordan...@gmail.com on 25 Mar 2014 at 9:48

GoogleCodeExporter commented 9 years ago
revision 516

Original comment by andreas-...@telekom.de on 25 Mar 2014 at 12:42