SOCKETS
The Socket Interface
Approach
TCP/IP
Concurrency
Fork (Contd)
Basic I/O Functions in UNIX
Using I/O in UNIX
Using UNIX I/O with TCP/IP
Descriptor Table
Slide 11
Passive/Active Socket
Sockets
Socket Functions
Socket Functions (Contd)
Data Conversion Functions
Slide 17
TCP vs. UDP
TCP vs. UDP (Contd)
Selecting UDP
Selecting TCP
OSI Layers vs. TCP/IP
Client Architecture
Socket Address Structure
Domain Name Structure
Example:
Service Structure
The Protocol Structure
ACCEPT
Slide 31
BIND
CLOSE
CONNECT
GETHOSTBYNAME
GETPROTOBYNAME
LISTEN
GETSERVBYNAME
READ
RECV
RECVFROM
SELECT
SELECT (Contd)
SEND
SENDTO
SOCKET
WRITE
References
Author: Vahid Moghaddasi
E-mail: cis432@cis.njit.edu
Homepage: http://www.cis.njit.edu/~vahid
Further information: Advanced Operating Systems
Download presentation