What is a communication channel?

When I look at the NSFileHandle API docs, I see that there are many network methods talking about sockets, etc ...

At the top they say:

NSFileHandle objects provide an object-oriented wrapper for access to open files or communication channels.

What is the “communication channel” here? Are there any practical examples explaining this for someone who is not a network ninja?

+3
source share
1 answer

This is mainly an abstraction, allowing you to access various communication channels using a common interface. This applies to many things with which you send and / or receive data bytes.

( ); , IP-; , , . - .

(netwworking ..) .

+6

Source: https://habr.com/ru/post/1771065/


All Articles