Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jacky.romano

macrumors newbie
Original poster
Aug 27, 2009
1
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.