I'm studying the Low-Level File Management Programming Topics from Apple. In the NSFileHandle section, they say:
The scope of NSFileHandle is not limited to files. It provides the only Foundation object that can read and write to communications channels such as those implemented by sockets, pipes, and devices.
That sounds GREAT! So I can talk via NSFileManager to an socket, which then transfers that data to an webserver where I mess around in a file directly, by remote?
Can someone give some easy to understand examples what I could do with this,
- when communicating with an "Socket"?
- when communicating with an "Pipe"?
- when communicating with an "Device"?
Note: I don't know anything really about Sockets, Pipes, Devices. And I am sure by Devices they don't mean the iPhone itself. I'm not familiar with networking things. But I want to learn that stuff!! Maybe you could also give a short explanation what these things are?