You are on page 1of 6

DOC/LP/01/28.02.

02

LESSON PLAN LP- IT1351


LP Rev. No: 02
SubCode& Name : IT1351 NETWORK PROGRAMMING AND Date: 04.12.09
MANAGEMENT Page 01 of 06
Unit: I Branch: IT Semester: VI

Unit syllabus:
ELEMENTARY TCP SOCKETS: Introduction to Socket Programming -
Overview of TCP/IP Protocols - Introduction to Sockets – Socket Address Structures –
Byte Ordering Functions – Address conversion functions - Elementary TCP Sockets –
socket, connect, bind, listen, accept, read, write, close functions – Iterative Server –
Concurrent Server.

Objective:
To learn the basics of socket programming-using TCP sockets. Also to
learn about Iterative and Concurrent server.

Session Chapter No. Teaching


No Topics to be covered Time Ref (Page No.) Method

1 Overview of TCP/IP Protocols-UDP and TCP 50 m 1 2.(29-37) BB


-TCP Connection Establishment and
Termination.
2 TCP state transition diagram-TIME_WAIT 50m 1 2(37-41) BB
State.
3 Introduction to Sockets - Socket Address 50 m 1 3(57-62) BB
Structures - IPv4, IPv6 and Generic socket
address structure.
4 Comparison of IPv4, IPv6 socket address 30 m 1 3(62-66) BB
structure, 20 m
Value-Result arguments.
5 Byte Ordering Functions, 20 m 1 3(66-70) BB
Byte Manipulation Functions 30 m BB
6 Address conversion functions - inet_aton, 50 m 1 3(70-74) BB
inet_addr and inet_ntoa functions; inet_pton,
and inet_ntop functions;
7 Address conversion functions - sock_ntop and 30 m 3(75-82)
related functions; readn, writen and redline 1 BB
functions-isfdtype function.

8 Elementary TCP Sockets – Socket function, 50 m 1,8 4(85-91) OEB


connect function.

9 Elementary TCP Sockets -Bind function and 50m 1 4(91-99) BB


listen function.
10 Elementary TCP Sockets - accept, read, write, 50 m 1 4(99-104) BB
close, fork and exec functions. 4(107)

11 Iterative Server, Concurrent Server. 50 m 1 4(101) BB


4(104-106)
12 Summary and Tutorials 50 m 1 BB
DOC/LP/01/28.02.02

LESSON PLAN LP- IT1351


LP Rev. No: 02
SubCode& Name : IT1351 NETWORK PROGRAMMING AND Date: 04.12.09
MANAGEMENT Page 02 of 06
Unit: II Branch: IT Semester:
VI

Unit syllabus:

APPLICATION DEVELOPMENT: TCP Echo Server - TCP Echo


Client - Posix Signal Handling - Server with Multiple Clients - Boundary
Conditions: Server process Crashes, Server host Crashes, Server crashes and
reboots, Server Shutdown - I/O multiplexing – I/O Models – select function –
shutdown function - TCP Echo Server (with multiplexing) - Poll Function - TCP
Echo Client (With multiplexing).

Objective:
To learn the about the Echo server and client and handling of posix signal.
Various steps to be taken to recover the server when crash. Also to learn
the concept of I/O multiplexing.

Session Chapter Teaching


No Topics to be covered Time Ref No(Page No.) Method
13 TCP Echo Server, TCP Echo Client. 50 m 1 5(111-117) BB

14 Posix Signal Handling - signal function- 50m 1 5(119-122) BB


Posix Signal semantics.

15 Server with Multiple Clients - Handling 50 m 1 5(122-130) BB


SIGCHILD signals, wait and waitpid
functions, Connction abort before accept
returns.

16 Boundary Conditions: Termination of Server 30 m 1 5(130-135) BB


Process: SIGPIPE signal; Crashing of Server
Host. 20 m
Crashing and Rebooting of Server Host;
Server Shutdown.

17 I/O multiplexing – I/O Models. 50 m 1 6(143-149) BB

18 Select function, shutdown function. 50 m 1 6(150-155) BB


6(160-161)
19 TCP Echo Server with multiplexing. 50 m 1 6(162-167) BB

20 Poll Function, TCP Echo Client with 50 m 1 6(169-174) BB


multiplexing.

21 Summary and Tutorials 50 m 1 BB

22 Continuous Assessment Test –I 75 m


DOC/LP/01/28.02.02

LESSON PLAN LP- IT1351


LP Rev. No: 02
SubCode& Name : IT1351 NETWORK PROGRAMMING AND Date: 04.12.09
MANAGEMENT
Page 03 of 06
Unit: III Branch: IT Semester:
VI

Unit syllabus:

SOCKET OPTIONS, ELEMENTARY UDP SOCKETS: Socket


options – getsocket and setsocket functions – generic socket options – IP socket options –
ICMP socket options – TCP socket options – elementary UDP sockets – UDP echo server
– UDP echo client – Multiplexing TCP and UDP sockets – Domain name system –
gethostbyname function – Ipv6 support in DNS – gethostbyadr function – getservbyname
and getservbyport functions.

Objective:

To learn the various ways to get and set the options that affect a socket and
basics of UDP sockets.

Session Chapter No. Teaching


No Topics to be covered Time Ref (Page No) Method

23 Socket Options - getsocket ,setsocket 50 m 1 7(177-183) BB


functions and socket states

24 Generic socket options. 50 m 1 7(183-197) BB

25 Ipv6 and Ipv4 socket options, ICMPv6 50 m 1 7(197-201) BB


socket options.

26 TCP socket options, fcntl function 50 m 1 7(201-207) BB

27 Elementary UDP sockets-recvfrom and 50 m 1 8(211-216) BB


sendto functions , UDP echo server.

28 UDP echo client, Multiplexing TCP and 50 m 1 8(216-217) BB


UDP sockets.

29 Domain name system, Resolvers and name 50 m 1 9(237-240) BB


servers.

30 Gethostbyname function – Ipv6 support in 50 m 1 9(240-250) BB


DNS. Gethostbyaddr function, uname
function

31 Gethostname function, 50 m 1 9(250-254) BB


Getservbyname and Getservbyport function.

32 Summary and Tutorials 50 m 1 BB


DOC/LP/01/28.02.02

LESSON PLAN LP- IT1351


LP Rev. No: 02
SubCode& Name : IT1351 NETWORK PROGRAMMING AND Date: 04.12.09
MANAGEMENT
Page 03 of 06
Unit: IV Branch: IT Semester:
VI

Unit syllabus:

ADVANCED SOCKETS: IPv4 and IPv6 Interoperability – Threaded


servers – thread creation and termination - TCP echo server using threads –
Mutexes - condition Variables - raw sockets - raw socket creation - raw Socket
output - raw socket input - ping program – trace route program.

Objective:
To develop knowledge of threads for developing high performance
scalable applications.

Session Chapter No.(Page Teaching


No Topics to be covered Time Ref No.) Method
33 IPv4 and IPv6 Interoperability - IPv4 25 m 1 10(261-270) BB
client and IPv6 server, IPv6 client 25 m
and IPv4 Server.

34 Threaded servers – thread creation 50 m 1 23(601-607) BB


and termination.

35 TCP echo server using threads. 50 m 1 23(607-611) BB

36 Mutexes, condition Variables. 50 m 1 23(622-631) BB

37 Raw sockets, raw socket creation, 50 m 1 23(655-661) BB


raw Socket output, raw socket
input,ICMPv6 Type Filtering

38 Ping program. 50 m 1, 23(661-672) OHP


4

39 Ping program. 50 m 1, 23(661-672) BB


4
40 Trace route program. 50 m 1, 23(672-701) OHP
5
41 Trace route program. 50 m 1, 23(672-701) BB
5
42 Continuous Assessment Test –II 75 m
DOC/LP/01/28.02.02

LESSON PLAN LP- IT1351


LP Rev. No: 02
SubCode& Name : IT1351 NETWORK PROGRAMMING AND Date: 04.12.09
MANAGEMENT Page 05 of 06
Unit: V Branch: IT Semester: VI

Unit syllabus:

SIMPLE NETWORK MANAGEMENT: SNMP network management


concepts – SNMP management information – standard MIB’s – SNMP v1
protocol and practical issues – introduction to RMON, SNMPv2 and
SNMPv3.

Objective:
To understand simple network management protocols and practical issues.

Sessio Chapter No.(Page Teaching


n Topics to be covered Time Re No.) Method
No f
43 SNMP network management concepts 50 m 2, 4(71-83) BB
Network management Architecture- 7
Proxies -SNMP related standards.

44 Structure of management information - 50 m 2 4(85-102) BB


MIB structure, object syntax.

45 Object syntax, limitation of MIB 50 m 2 4(102-114) BB


objects.

46 Standard MIB’s - MIB-II – system, 50 m 2 6(121-156) OHP


interfaces, at, ip, icmp, tcp, udp, egp,
dot3.

47 Simple network management protocol 50 m 2 7(163-173) BB


v1 – Basic concepts.

48 Protocol specification of SNMP. 50 m 2 7(173-190) BB

49 Practical issues of SNMP. 50 m 2 7(192-202) BB

50 Introduction to Remote Network 50 m 2, 8(209-248) BB


Monitoring (RMON)- control of remote 6
monitors.

51 Introduction to SNMP v2 and SNMP 50 m 2 12(331-356) OHP


v3. 15(447-482)

52 Summary and Tutorials. 50 m 2 BB

53 Continuous Assessment Test –III 75 m


DOC/LP/01/28.02.02

LESSON PLAN LP-IT1351


LP Rev. No: 02
SubCode& Name : IT1351 NETWORK PROGRAMMING AND Date: 04.12.09
MANAGEMENT Page 06 of 06
Unit: I,II,III,IV,V Branch: IT
Semester: VI

Course Delivery Plan:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Week
I II I II I II I II I II I II I II I II I II I II I II I II I II I II I II
  1     2     3     4   5    
Units
 

TEXT BOOKS
1. W.Richard Stevens, “UNIX NETWORK PROGRAMMING Vol-I” Second
Edition, PHI/Pearson Education, 1998.
2. William Stallings,”SNMP, SNMPv2, SNMPv3 and RMON 1 and 2”, Third
Edition, Addison Wesley, 1999.

REFERENCE

3. D.E.Comer,”Internetworking with TCP/IP Vol-III”, (BSD Sockets Version),


Second Edition, PHI, 2003.
4. http://www.erg.abdn.ac.uk/users/gorry/course/inet-pages/icmp.html
5. http://www.exit109.com/~jeremy/news/providers/traceroute.html
6. http://www.javvin.com/protocolRMON.html
7. http://www.cisco.com/en/US/docs/internetworking/technology/handbook/SNMP.
html
8. http://www.science.uva.nl/ict/ossdocs/php4/ref.sockets.html

Prepared by Approved by
Signature

Name Ms. T. DHANALAKSHMI Dr. G. Sumathi


Ms.G.Sangeetha,
Designation Senior Lecturer/IT HOD/ IT
Lecturer/IT
Date 10.12.09 10.12.09

You might also like