views:

8

answers:

0

Hi Guys, I'm trying to setup a GPRS connection with ConnMgrEstablishConnectionSync(), so far so good, the connection is established and if I try to connect to an IP address, everything works fine.

Alas, when I try to resolve a name:

ConnMgrEstablishConnectionSync();
...
gethostbyname("www.google.com");

The result is always an error: 0x00002af9 (host not found). Therefor I'm not able to resolve any name, but if I try to open a browser, the browser is able to resolve everything. Am I doing something wrong? Thanx for your help.