DOC/LP/01/28.02.02 LP- IT2351 LESSON PLAN LP Rev. No: 02 SubCode& Name : IT2351 NETWORK PROGRAMMING AND Date: 03.01.13 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. Session No Topics to be covered Time Ref Teaching Aids 1 Overview of TCP/IP Protocols-UDP and TCP TCP Connection Establishment and Termination. 50 m 1(29-37) BB 2,3 TCP state transition diagram-TIME_WAIT State. Introduction to Sockets - Socket Address Structures - IPv4, IPv6 and Generic socket address structure. Comparison of IPv4, IPv6 socket address structure, Value-Result arguments. Byte Ordering Functions,Network Byte Ordered,Host Byte ordered Byte Manipulation Functions,little Endian,Big Endian Address conversion functions - inet_aton, inet_addr and inet_ntoa functions; inet_pton, and inet_ntop functions; 100m 1(37-41) BB 50 m 1(57-62) BB 30 m 1(62-66) BB 20 m 20 m 30 m 1(66-70) BB BB 50 m 1(70-74) BB Address conversion functions - sock_ntop and related functions; readn, writen and readline functions 30 m 1(75-82) 9 Elementary TCP Sockets – Socket function, connect function. 50 m 1(85-91) BB 10 Elementary TCP Sockets -Bind function and listen function. Elementary TCP Sockets - accept, read, write, close, fork and exec functions. 50m 1(91-99) BB 50 m 1(99-104) 1(107) BB Iterative Server, Concurrent Server. 50 m 1(101) BB 1(104-106) 4 5 6 7 8 11 12 BB DOC/LP/01/28.02.02 LP- IT2351 LESSON PLAN LP Rev. No: 02 SubCode& Name : IT2351 NETWORK PROGRAMMING AND Date: 03.01.13 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 about echo server and client and handling of Posix signal. Session No Topics to be covered Time Ref Teaching Aids 13 TCP Echo Server:main function,str_echo TCP Echo Client:main function,str_cli function. 50 m 1(111-117) BB 14 Posix Signal Handling - signal function- Posix Signal semantics. 50m 1(119-122) BB 15 Server with Multiple Clients - Handling SIGCHILD signals, wait and waitpid functions, Connection abort before accept returns. 50 m 1(122-130) BB 16 Boundary Conditions: Termination of Server Process: SIGPIPE signal; Crashing of Server Host. Crashing and Rebooting of Server Host; Server Shutdown. 30 m 1(130-135) BB 17 I/O multiplexing – I/O Models. 50 m 1(143-149) BB 18 Select function, shutdown function. 50 m BB 19 TCP Echo Server with multiplexing. 50 m 1(150-155) 1(160-161) 1(162-167) 20 Poll Function, TCP Echo Client with multiplexing. 50 m 1(169-174) BB 21 Summary 50 m 20 m BB BB DOC/LP/01/28.02.02 LP- IT2351 LESSON PLAN LP Rev. No: 02 SubCode& Name : IT2351 NETWORK PROGRAMMING AND Date: 03.01.13 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 – gethostbyaddr function – getservbyname and getservbyport functions. Objective: To learn the various ways to get and set the options for a socket and to learn the basics of UDP sockets. Session No Topics to be covered Time Ref Teaching Aids 22 Socket Options - getsocket ,setsocket functions and socket states 50 m 1(177-183) BB 23 Generic socket options. 50 m 1(183-197) BB 24 Ipv6 and Ipv4 socket options, ICMPv6 socket options. 50 m 1(197-201) BB 25 TCP socket options, SCTP Socket Options, fcntl function 50 m 1(201-207) BB 26 Elementary UDP sockets-recvfrom and sendto functions , UDP echo server:main function,dg_echo function, UDP echo client 50 m 1(211-216) BB 27 28 Multiplexing TCP and UDP sockets Domain name system, Resolvers and name servers. 50 m 50 m 1(216-217) 1(237-240) BB BB 29 Gethostbyname function – Ipv6 support in DNS. Gethostbyaddr function, uname function 50 m 1(240-250) BB 30 Gethostname function, Getservbyname and Getservbyport function. 50 m 1(250-254) BB DOC/LP/01/28.02.02 LP- IT2351 LESSON PLAN LP Rev. No: 02 SubCode& Name : IT2351 NETWORK PROGRAMMING AND Date: 03.01.13 MANAGEMENT Page 04 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 enhance the knowledge of threads for developing high performance scalable applications. Session No Topics to be covered Time Ref Teaching Aids 31 IPv4 and IPv6 Interoperability - IPv4 client and IPv6 server, IPv6 client and IPv4 Server.IPv6 Address – Testing Macros 25 m 25 m 1(261-270) BB 32 Threaded servers – thread creation and termination. str_cli function using threads. 50 m 1(601-607) BB 33 TCP echo server using threads.Thread Specific data 50 m 1(607-611) BB 34 Mutexes, condition Variables. 50 m 1(622-631) BB 35 Raw sockets, raw socket creation, raw Socket output, raw socket input,ICMPv6 Type Filtering 50 m 1(655-661) BB 36 Ping program. 50 m 1(661-672) LCD 37 Ping program. 50 m 1(661-672) BB 38 Trace route program. 50 m 1(672-701) LCD 39 Trace route program. 50 m 1(672-701) BB Continuous Assessment Test DOC/LP/01/28.02.02 LP- IT2351 LESSON PLAN LP Rev. No: 02 SubCode& Name : IT2351 NETWORK PROGRAMMING AND Date: 03.01.13 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 – SNMPv1 protocol and Practical issues – introduction to RMON, SNMPv2 and SNMPv3. Objective: To understand simple network management protocols and practical issues. Session No Topics to be covered Time Ref Teaching Aids 40 SNMP network management concepts Network management ArchitectureProxies -SNMP related standards. 50 m 4(103-137), 4(71-83) BB 41 Structure of management information MIB structure, object syntax. 50 m 4(85-102) BB 42 Object syntax, limitation of MIB objects. 50 m 4(102-114) BB 43 Standard MIB’s - MIB-II – system, interfaces, at, ip, icmp, tcp, udp, egp, dot3. 50 m 4(121-156) LCD 44 Simple network management protocol V1 – Basic concepts. 50 m 4(143-198), 4(163-173) BB 45 Protocol specification of SNMP. 50 m BB 46 Practical issues of SNMP. 50 m 4(208-211), 4(173-190) 4(192-202) 47 Introduction to Remote Network Monitoring (RMON)- control of remote monitors. 50 m 4(321-342), 4(209-248) BB 48 Introduction to SNMP v2 and SNMP v3. 50 m 4(229-317), 4(331-356) 4(447-482) LCD Continuous Assessment Test BB DOC/LP/01/28.02.02 LP- IT2351 LESSON PLAN LP Rev. No: 02 SubCode& Name : IT2351 NETWORK PROGRAMMING AND Date: 03.01.13 MANAGEMENT Page 06 of 06 Unit: I,II,III,IV,V Branch: IT Semester: VI Course Delivery Plan: Week 1 I II Units 2 3 4 5 6 7 8 9 10 11 12 13 14 15 I II I II I II 2 I II I II I II 3 I II I II I II 4 I II I II I II 5 I II I II 1 TEXT BOOKS: 1. W. Richard Stevens, “Unix Network Programming Vol-I”, Second Edition, Pearson Education, 1998. 2. Mani Subramaniam, “Network Management: Principles and Practice“, Addison Wesley”, First Edition, 2001. REFERENCES: 3. D.E. Comer, “Internetworking with TCP/IP Vol- III”, (BSD Sockets Version), Second Edition, Pearson Education, 2003. 4.William Stallings, “SNMP, SNMPv2, SNMPv3 and RMON 1 and 2”,Third Edition, Addison Wesley, 1999. Prepared by Approved by Signature Name Designation Date Ms.K.Kiruthika Devi Ms.H.Maimoon Begum AP/IT 03.01.13 Prof E.G.Govindan HOD/ IT 03.01.13
© Copyright 2026 Paperzz