Question

Curious:

Why is it that Foundation on OS X contains a wrapper for CFHost (NSHost) but not CFSocket, and Foundation on iPhone OS doesn't even have NSHost?

And as an aside, are there any libraries or has any written any wrappers for CFHost and CFSocket on the iPhone?

Was it helpful?

Solution

Oddly enough, the iPhone version of Foundation does actually include the NSHost class, but Apple doesn't provide the headers for it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top