Skip to content

This repository contains all my works which I did or am doing in Network Programming Lab (7CSL01) in my college SIT Tumkur

License

Notifications You must be signed in to change notification settings

rishav-karanjit/Network-Programming-lab

Repository files navigation

Network-Programming-Lab

Before You Start:

  • All the programs under each parts is given below.🔻
  • Naming Convention for each of the program folder is [PartName][ProgramName]. For eg: A1 is 1st program of part A
  • Part 2 programs requires some installations:
    1. NS2: sudo apt-get install ns2 -y
    2. NAM: sudo apt-get install nam -y

PART A

  1. For the given network graph, write a program to implement Link state routing algorithm to build a routing table for the given node
  2. Write a program to divide the message into variable length frames and sort them and display the message at the receiving side.
  3. Using TCP/IP sockets, write a client – server program, the client sends the file name and the server sends back the requested text file if present.
  4. Implement the above program using FIFOs as IPC channels
  5. Using UDP, write a client – server program, to exchange messages between client and the server.
  6. Write a socket program to demonstrate IP multicasting which provides the capability for an application to send a single IP datagram that a group of hosts in a network can receive.
  7. Write a program to implement sliding window protocol between two hosts.
  8. Write a program for error detecting code using CRC-CCITT (16- bits).

PART B

  1. Simulate a three nodes point – to – point network with duplex links between them. Set the queue size and vary the bandwidth and find the number of packets dropped.
  2. Simulate a four node point-to-point network with the link connectedasfollows:n0 – n2, n1– n2 and n2 – n3. Apply TCP agent between n0-n3 and UDP between n1-n3. Apply relevant applications over TCP and UDP agents changing the parameter and determine the number of packets sent by TCP / UDP.
  3. Simulate the different types of Internet traffic such as FTP and TELNET over a network and analyze the throughput.
  4. Simulate an Ethernet LAN using n nodes (6-10), change error rate and data rate and compare the throughput.
  5. Simulate an Ethernet LAN using n nodes and set multiple traffic nodes and determine the collision across different nodes.
  6. Simulate the transmission of ping messages over a network topology consisting of 6 nodes and find the number of packets dropped due to congestion.
  7. Simulate simple ESS with transmitting nodes in wire-less LAN and determine the performance with respect to transmission of packets.
  8. Simulate simple ad-hoc network with transmitting nodes and determine the performance with respect to transmission of packets

About

This repository contains all my works which I did or am doing in Network Programming Lab (7CSL01) in my college SIT Tumkur

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published