PDA

View Full Version : sockets over 3g network




jacky.romano
Aug 27, 2009, 07:50 AM
Hi Guys,
I'm a newbie to iphone programming.
I have an application that communicates to a server over TCP socket. Since the code needs to be multi platform (symbian, windows) I'm using using unix sockets.

My problem - gethostbyname and gethostbyaddr fails (return NULL) when the phone is connected though cellular network.

As I have mentioned, I'm a newbie to iphone thus it might be a configuration problem of the phone rather then my application per-se.

Thanks in advance,
Jacky