Search This Blog

Thursday, January 5, 2023

Network Lab Pgms


Pgm -1

TCP - Server Pgm

TCP - Client Pgm

TCP - Algorithm


Pgm -2

UDP - Server Pgm

UDP - Client Pgm


Pgm -3

Implement Link State Routing algorithm.

Sample-Output


Pgm - 4

Implement leaky bucket algorithm for congestion control.

Sample-Output 


Pgm - 5 (FTP)

Develop a file server which will provide the file requested by a client if it

exists. If not, the server sends appropriate message to the client. Server should also

send its process ID (PID) to clients for display along with the file or the message.

Sample-Output


Pgm - 6 

Implement Selective Repeat ARQ flow control protocol using UDP.

Sample-Output

 

Pgm - 7

Implement a Concurrent Server application to perform sorting using TCP to execute the program at a remote server. Client sends an array and its size to the server (using a structure variable), server sort the array and send back the result to the client. Client displays the result.

TCP - Server - Fork

TCP - Client

 

Pgm - 8

Sample Concurrent Server application using UDP.

UDP - Server - Fork

UDP - Client