Docsity

Networking: Understanding Inter-system IPC and Client-Server Model with Sockets in C - Pro, Study notes of Computer Science

Partial preview of the text

Download Networking: Understanding Inter-system IPC and Client-Server Model with Sockets in C - Pro and more Study notes Computer Science in PDF only on Docsity!

CS351 : Saelee

Networking

inter -system IPC

request

Client-Server Model

Client Server^ Resource

reply

Resource Server Client

request

reply

asymmetric

(concurrent connections)

1 server : N clients

explicit naming

IP address → machine

IPaddr :: port = endpoint

routing

(courtesy Wikimedia Commons)

TCP/IP

Client Network adapter Global IP Internet

TCP/IP

Server Network adapter Internet client host Internet server host Sockets interface (system calls) Hardware interface (interrupts) User code Kernel code Hardware

(… as a file)

I/O mechanism: the FD