8EC5 COMPUTER NETWORK PROGRAMMING LAB

1.

PRELIMINARIES:

Study and use of common TCP/IP protocols and term viz. telnet rlogin ftp, ping,

finger, Socket, Port etc.

2.

DATA STRUCTURES USED IN NETWORK PROGRAMMING:

Representation of unidirectional, ,

Directional weighted and unweighted graphs.

3.

ALGORITHMS IN NETWORKS:

computation of shortest path for one source-one  destination and

one source –all destination.

4.  SIMULATION OF NETWORK PROTOCOLS:

(i)  Simulation of M/M/1 and M/M/1/N queues.

(ii)  Simulation of pure and slotted ALOHA.

(iii)  Simulation of link state routing algorithm.

5.

Case study : on LAN Training kit

(i)   Observe the behavior & measure the throughput of reliable data transfer protocols under

various Bit error rates for following DLL layer protocols-

a.   Stop & Wait

b.   Sliding Window :   Go-Back-N  and   Selective Repeat

(ii)  Observe the behavior & measure the throughput under various network load conditions for

following MAC layer Protocols

a.   Aloha

b.   CSMA, CSMA/CD & CSMA/CA

c.    Token Bus & Token Ring

6.   DEVELOPMENT OF CLIENT SERVER APPLICATION:

(i)  Develop ‘telnet’ client and server which uses port other than 23.

(ii)  Write a finger application which prints all available information for five users currently logged on

and are using the network for longest duration. Print the information in ascending order of time.