Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:RHostResolver and redundant display of access point selection dialog (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Using a host name resolver (RHostResolver) may cause the access point selection dialog to pop up continuously in S60 3rd Edition.

Article Metadata
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Keywords: RHostResolver, RSocketServ
Created: User:Technical writer 1 (20 Aug 2007)
Last edited: hamishwillee (21 Jun 2012)


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:

Start a new internet connection:

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.


Pass the active RConnection instance to the host resolver:

iResolver.Open(iSocketServer, KAfInet, KProtocolInetUdp, iConnection);
This page was last modified on 21 June 2012, at 03:42.
27 page views in the last 30 days.