MC7404 NETWORK PROGRAMMING NOTES ANNA UNIVERSITY

MC7404 NETWORK PROGRAMMING NOTES ANNA UNIVERSITY

UNIT I INTRODUCTION

  • Overview of UNIX OS
  • Environment of a UNIX process
  • Process control
  • Process relationships Signals
  • Interprocess Communication
  • Overview of TCP/IP protocols

UNIT II ELEMENTARY TCP SOCKETS

  • Introduction to Socket Programming
  • 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.

UNIT III 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)

Download Unit III Two marks & 16 marks with answers

UNIT IV 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.

Download Unit IV Two marks & 16 marks with answers

UNIT V 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.

Download Unit V Two marks & 16 marks with answers


Download Complete MC7404 NP Notes


MC7404 Network Programming Previous Year Question Paper May/June 2016