NETWORK PROGRAMMING SYLLABUS
NETWORK PROGRAMMING SYLLABUS
NETWORK PROGRAMMING
UNIT I:
Introduction to Network Programming: 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 Elementary
Sockets: Sockets introduction,
Elementary TCP sockets.
UNIT II:
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.I/O
Multiplexing: I/O Models, the select and poll functions, Batch input and buffering,
shutdown function.
UNIT III:
UDP and Socket options: Elementary UDP sockets: Introduction UDP Echo server
functions, lost
datagram, summary of UDP example, Lack of flow control with UDP. Socket options:
getsockopt and
setsockopt functions. Socket states, Generic socket options IPV4 socket options,
IPV6 socket options,
ICMPV6 socket options and TCP socket options, SCTP socket options, fcntl function.
UNIT IV:
Advanced Sockets and Daemon Processes: IPV4 and IPV6 interoperability,
introduction, IPV4 client:
IPV6 server, IPV6 client: IPV4 Server, IPV6 Address-testing macros. Daemon
Processes and
inetdSuperserver –Introduction, syslogd Daemon, syslog Function, daemon_init
Function, inetd Daemon,
daemon_inetd. Advanced I/O functions: Socket timeouts, recv and send functions,
ready and writev
functions, recvmsg and send msg functions, Ancillary data.
UNIT V:
Broadcasting and Multicasting: Broadcasting introduction, broadcast addresses,
unicast versus Broadcast,
dg_cli function using broadcasting, race conditions, Multicasting addresses,
multicasting versus
broadcasting on a LAN, multicasting on a WAN, source-specific multicast, multcast
socket options. Raw
Sockets: Introduction, Raw Socket Creation, Raw Socket Output, Raw Socket Input,
Ping Program,
Traceroute Program
Text Books:
1. UNIX Network Programming, by W. Richard Stevens, Bill Fenner, Andrew M. Rudoff,
Pearson
Education
2. UNIX Network Programming, 1st Edition, W. Richard Stevens. PHI.
Reference Books:
1. UNIX Systems Programming using C++ T CHAN, PHI.
2. UNIX for Programmers and Users, 3rd Edition Graham GLASS, King abls, Pearson
Education
3. Advanced UNIX Programming 2nd Edition M. J. ROCHKIND, Pearson Educatio