For the moment this is just conceptual and is a long way off, but I plan to make a fitness tracker app that can update my stats and food I eat as both a beginner iPhone app and also to dabble in server and networking programming. The server in question is an old emac at my house running debian. I had this plan of creating a client program on the server where it would use the pcap networking library to pick up and read packets with a certain port number, and execute login, store, retrieve commands based on what the packets contained, to be run as a daemon. I don't know of any Objective-C/cocoa networking functions so I was wondering if pcap is supported or would work on the iPhone? Is there another library to do this? I know its possible to make a library file in C, and make Objective-C wrappers to read it, but its difficult and not without flaws.
tl;dr: best way to programmatically connect to a server with app, keep secure conversation going, etc.
tl;dr: best way to programmatically connect to a server with app, keep secure conversation going, etc.