Network Programming
Network Programming
Course Outcomes
Contribution of Course Outcomes towards achievement of Program Outcomes & Strength of correlations
(3:Substantial, 2: Moderate, 1:Slight)
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2
CO1 2
CO2 3 3 2
CO3 3 2
CO4 3 2 2 2 2
Syllabus Mapped CO
Unit
Contents
No.
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.
CO1, CO2,
I Sockets: CO4
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.
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.
Elementary UDP sockets:
II Introduction UDP Echo server function, lost datagram, summary of UDP CO1, CO2
example, Lack of flow control with UDP, determining outgoing interface
with UDP.
I/O Multiplexing:
I/O Models, select function, Batch input, shutdown function, poll
function, TCP Echo server.
Socket options:
getsockopt and setsockopt functions. Socket states, Generic socket option
IPV6 socket option ICMPV6 socket option IPV6 socket option and TCP
socket options.
III Advanced I/O Functions- CO1, CO4
Introduction, Socket Timeouts, recv and send Functions,readv and writev
Functions, recvmsg and sendmsg Functions, Ancillary Data, How Much
Data Is Queued?, Sockets and Standard I/O, T/TCP: TCP for
Transactions.
Elementary name and Address conversions:
DNS, gethost by Name function, Resolver option, Function and IPV6
support, uname function, other networking information.
Daemon Processes and inetd Superserver – Introduction, syslogd CO1,
IV
Daemon, syslog Function, daemon_init Function, inetd Daemon, CO3,CO4
daemon_inetd Function.
Broadcasting- Introduction, Broadcast Addresses, Unicast versus
Broadcast, dg_cli Function Using Broadcasting, Race Conditions.
Multicasting-
Introduction, Multicast Addresses, Multicasting versus Broadcasting on A CO1, CO2,
V
LAN, Multicasting on a WAN, Multicast Socket Options, mcast join and CO3,CO4
Related Functions, dg_cli Function Using Multicasting, Receiving
MBone Session Announcements, Sending and Receiving, SNTP: Simple
Network Time Protocol, SNTP
Learning Resources
Text Books
1. UNIX Network Programming, W. Richard Stevens, Bill Fenner, Andrew M. Rudoff, Third Edition,
Pearson Education,2015
2. UNIX Network Programming, W. Richard Stevens. Second Edition Pearson,2015
References
1. UNIX Systems Programming using C++, T Chan, First Edition,Pearson,2015
2. UNIX for Programmers and Users, Graham Glass, King abls, Third Edition Pearson Education,
2003
3. Advanced UNIX Programming, M. J. ROCHKIND, Second Edition Pearson Education,2004.
e-Resources & other digital material
1. http://wps.aw.com/aw_kurose_network_2
2. http://www.kohala.com/start/unpv12e.html
3. http://www.netbook.cs.purdue.edu
4. http://www.cs.arizona.edu/llp/book/book.html