What is Socket ?

A way to speak to other programs using standard Unix file descriptors.

Linux 에서는 소켓도 하나의 파일(file), 더 정확히는 파일 디스크립터(file descriptor)로 생성해 관리한다. Network I/O 의 본질은 File descriptors 에 대한 작업 이다.

Abstraction of the Linux message traffic path

Abstraction of the Linux message traffic path:

References