This page was last modified 04:50, 24 August 2007.
KIS000330 - RHostResolver and redundant display of access point selection dialog
From Forum Nokia Wiki
RHostResolver and redundant display of access point selection dialog
| KIS000330
|
Overview
| Using a host name resolver (RHostResolver) may cause the access point selection dialog to pop up continuously.
|
Reported against
| S60 3rd Edition
|
Date identified
| April 21, 2006
|
Symptoms
| -
|
Detailed description
| On S60 3rd Edition, using a host name resolver service (RHostResolver) during an already active connection results in the access point selection dialog popping up each time a name resolution is made.
|
How to reproduce
| Connect to socket server (RSocketServ) and open an RConnection instance: iSocketServer.Connect(); iConnection.Open(iSocketServer); Start a new internet connection: iConnection.Start(); The access point selection dialog will be displayed. Select an appropriate AP. After the connection has been established, open a DNS resolver session using RHostResolver and try to resolve a host name: iResolver.Open(iSocketServer, KAfInet, KProtocolInetUdp); iResolver.GetByName(someHost, iResult); Access point selection dialog will be displayed again.
|
Solution
| Pass the active RConnection instance to the host resolver: iResolver.Open(iSocketServer, KAfInet, KProtocolInetUdp, iConnection);
|