Hey guys, I\'m new at this stuff, but I\'m trying to use gethostname() to work using xcode and the ipad. I\'ve tried a couple of things, but they all seem to freeze up.
I'm an idiot. If I do:
char server[256]; [Website_NSString getCString:server maxLength:256 encoding:NSASCIIStringEncoding]; host = gethostbyname(server);
It works fine.