NETWORK PROGRAMMING

Paper Code: 
MCS 424C
Credits: 
04
Periods/week: 
04
Max. Marks: 
100.00
Objective: 

This paper is to give conceptual knowledge to students about  Network Programming in unix environment , with detailed knowledge of TCP and UDP architecture. 

12.00
Unit I: 
Introduction to Network Programming:

OSI model, Unix standards, TCP and UDP & TCP connection establishment and Format, Buffer sizes and limitation, standard internet services, Protocol usage by common internet application.

 

12.00
Unit II: 
Sockets :

Address structures, value – result arguments, Byte ordering and manipulation function and related functions Elementary TCP sockets – Socket, connect, bind, listen, accept, fork and exec function, concurrent servers. Close function and related function.

 

12.00
Unit III: 
TCP client server :

Introduction, TCP Echo server functions, Normal startup, terminate and signal handling server process termination, Crashing and Rebooting of server host shutdown of server host.

 

12.00
Unit IV: 
I/O Multiplexing and socket options:

I/O Models, select function, Batch input, shutdown function, poll function, TCP Echo server, getsockopt and setsockopt functions. Socket states, Generic socket option IPV6 socket option ICMPV6 socket option IPV6 socket option and TCP socket options.

Unit V: 
Elementary UDP sockets:

Introduction UDP Echo server function, lost datagram, summary of UDP example, Lack of flow control with UDP, determining outgoing interface with UDP.

 

ESSENTIAL READINGS: 

1. W.Richard Stevens, Pearson Edn “UNIX Network Programming”, Vol. I, Sockets API, 2nd Edition. -.Asia.

2. W.Richard Stevens “UNIX Network Programming”, 1st Edition, -. PHI.

REFERENCES: 

1. T CHAN “UNIX Systems Programming using C++”, PHI.

2. Graham GLASS, King abls “UNIX for Programmers and Users”, 3rd Edition, Pearson Education

3. M. J. ROCHKIND “Advanced UNIX Programming”, 2nd Edition, Pearson Education

 

Academic Year: