×
Namespaces

Variants
Actions
Revision as of 14:09, 24 June 2011 by hamishwillee (Talk | contribs)

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

From Nokia Developer Wiki
Jump to: navigation, search

Template:KBKI


Article Metadata
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (21 Apr 2006)
Last edited: hamishwillee (24 Jun 2011)

Overview

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

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);

87 page views in the last 30 days.
×