iphone Programming Glossary: cfhost
iPhone TCP/IP Socket Server/Client Program http://stackoverflow.com/questions/1437993/iphone-tcp-ip-socket-server-client-program this simple application yourself After doing some research I understand that I have to look in the area of CFNetwork CFHost CFSocket CFStream. Question Is there anyone that could guide me to a tutorial or post the code where you have two buttons..
Alternatives to NSHost in iPhone app http://stackoverflow.com/questions/3434192/alternatives-to-nshost-in-iphone-app that seem damn near perfect below I've added this code into my app in the place of the code above Boolean result CFHostRef hostRef CFArrayRef addresses NSString hostname @ www.apple.com hostRef CFHostCreateWithName kCFAllocatorDefault CFStringRef.. of the code above Boolean result CFHostRef hostRef CFArrayRef addresses NSString hostname @ www.apple.com hostRef CFHostCreateWithName kCFAllocatorDefault CFStringRef hostname if hostRef result CFHostStartInfoResolution hostRef kCFHostAddresses.. hostname @ www.apple.com hostRef CFHostCreateWithName kCFAllocatorDefault CFStringRef hostname if hostRef result CFHostStartInfoResolution hostRef kCFHostAddresses NULL pass an error instead of NULL here to find out why it failed if result..
|