nikhilqt
13th April 2011, 14:51
Hi All,
I have a priority in loading my application as fast as possible. So one of the steps which takes tangible time in seconds(rest are in ms) is getting the IP address. So here is the concern in time taken by a static method of QNetworkInterface for getting all the addresses.
sActualIPAdd = QNetworkInterface::allAddresses().first().toString ();
is taking 6 seconds in wireless network and 2 seconds in wired network. Is this can be reduced ?
Thanks,
Nikhil
I have a priority in loading my application as fast as possible. So one of the steps which takes tangible time in seconds(rest are in ms) is getting the IP address. So here is the concern in time taken by a static method of QNetworkInterface for getting all the addresses.
sActualIPAdd = QNetworkInterface::allAddresses().first().toString ();
is taking 6 seconds in wireless network and 2 seconds in wired network. Is this can be reduced ?
Thanks,
Nikhil