0% found this document useful (0 votes)
120 views

Unix Network Programming

Uploaded by

Chitti Chitti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
120 views

Unix Network Programming

Uploaded by

Chitti Chitti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

CSE 197

UNIX NETWORK PROGRAMMING


(Common to CSE & IT)

Course Code :13CT1130 L T P C


4 0 0 3
Course Outcomes:
At the end of the Course, a student will be able to
CO 1 Identify interfaces and frameworks for developing network
applications.
CO 2 Develop programs for data communication using socket
functions.
CO 3 Explain functioning of TCP echo server.
CO 4 Write UDP Client Server programs using socket functions.
CO 5 Describe inter-process communication and Remote Login
mechanisms.
UNIT-I (10 Lectures)
INTRODUCTION TO NETWORK PROGRAMMING:
OSI model, Unix standards, TCP and UDP, TCP connection
establishment and termination, Buffer sizes and limitations, Standard
Internet services, Protocol usage by common internet applications.
UNIT-II (14 Lectures)
SOCKETS:
Address structures, Value – result arguments, Byte ordering and
manipulation functions and related functions. Elementary TCP sockets
– socket, connect, bind, listen, accept, fork and exec functions,
concurrent servers, close function and related functions.

G V P College of Engineering (Autonomous) 2014


198 CSE

UNIT-III (10 Lectures)


TCP CLIENT SERVER EXAMPLE:
Introduction, TCP Echo server and client functions, Normal startup
and Termination, Signal handling, Server process termination,
Crashing and Rebooting of server host, Shutdown of server host.
I/O MULTIPLEXING: I/O Models, select function, Batch input,
shutdown function, poll function, TCP Echo server.
UNIT-IV (13 Lectures)
ELEMENTARY UDP SOCKETS:
Introduction, recvfrom and sendto functions, UDP Echo server and
client functions, Lost datagrams, , Lack of flow control with UDP,
determining outgoing interface with UDP, TCP and UDP echo server
using select.
ELEMENTARY NAME AND ADDRESS CONVERSIONS:
DNS, gethostbyname function, Resolver option, gethostbyname2
function and IPV6 support, uname function, getserverbyname and
getservbyport functions, other networking information.
UNIT-V (14 Lectures)
IPC:
Introduction, File and record locking, Pipes, FIFOs, streams and
messages, Message queues, Semaphores, Shared memory.
REMOTE LOGIN:
Terminal line disciplines, Pseudo-Terminals, Terminal modes, Control
Terminals, RPC Transparency Issues.
TEXT BOOKS:
1. W.Richard Stevens, “UNIX Network Programming, Sockets
API”, Volume I, 3rd Edition, PHI , 2010.
2. W.Richard Stevens, “UNIX Network Programming, Volume
II”, 1st Edition, PHI, 2009.

G V P College of Engineering (Autonomous) 2014


CSE 199

REFERENCES:
1. T Chan, “UNIX Systems Programming using C++”,
1st Edition, PHI, 2010.
2. Graham Glass, King abls, “UNIX for Programmers and
Users”, 3rd Edition, Pearson Education, 2010.
3. M. J. Rochkind, “Advanced UNIX Programming”, 2 nd
Edition, Pearson Education, 2008.

pqr

G V P College of Engineering (Autonomous) 2014

You might also like