Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

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);
Related Discussions
Thread Thread Starter Forum Replies Last Post
紧急求救关于user breakpoint yinjialiang Symbian 2 2003-07-29 09:42
Connect to WAP Access Point psousa Symbian Networking & Messaging 2 2003-05-08 14:09
CAknFileSelectionDialog and focus changes dogbertrulez Symbian User Interface 0 2007-10-05 09:26
IAP list in own dialog box shadow-2005 Symbian Networking & Messaging 5 2007-03-12 16:22
does any expert know how? g88 Symbian Networking & Messaging 5 2007-03-05 15:32
 
Powered by MediaWiki