I'm using an almost identical code as shown under http://discussion.forum.nokia.com/fo...ad.php?t=54226 to get IP, Netmask, Broadcast, Gateway, DNS 1 and DNS 2 of my current WLAN connection.
It's interesting that I never get information about Netmask (iNetMask), Broadcast (iBrdAddr) and Gateway (iDefGate). The values are always 00:00:00:00. All other information is available and correct.
I'm 100% sure that it is not a problem of my code as I experience the same problem using the freeware application "ifinfo" (http://tinyhack.com/freewarelist/s60.../03/09/ifinfo/). The values are set to 00:00:00:00, too.
Even more I guess it's a firmware problem of my Nokia N95 (someone reported the same issue on his Nokia E61i). Reason: On the Carbide C++ emulator, information about Netmask, Broadcast and Gateway is available and works as expected using the same code!
Do you know that issue and can provide a workaround?
Thank you for your help!