- Computer Networks Lab Manual For Cse 7th Sem Vtu Pdf Download
- Computer Networks Lab Manual For Cse 7th Sem Vtu Pdf Maths
- Computer Networks Lab Manual For Cse 7th Sem Vtu Pdf Textbook
Engineering chemistry lab manual vtu or just about any type of ebooks, for any type of product. Best of all, they are entirely free to find, use and download, so there is no cost or stress at all. Engineering chemistry lab manual vtu PDF may not make exciting reading, but engineering chemistry lab manual vtu is packed with valuable instructions.
Anna University Regulation 2013 Information Technology (IT) IT6511 NETWORKS LAB Manual for all experiments is provided below. Download link for IT 5th SEM IT6511 Networks Laboratory Manual is listed down for students to make perfect utilization and score maximum marks with our study materials.
- VTU CSE 5th Sem consists of various subjects like Software Engineering,Operating Systems, Computer Networks and so on. Here students can download vtu e learning notes by various authors as PDFs. Just click on the button to get these notes.
- LAB MANUAL for Computer Network. CSE-310 F Computer Network Lab L T P -3 Class Work: 25 Marks Exam: 25 MARKS Total: 50 Marks This course provides students with hands on training regarding the design, troubleshooting, modeling and evaluation of computer networks.
- Anna University Regulation 2013 Information Technology (IT) IT6511 NETWORKS LAB Manual for all experiments is provided below. Download link for IT 5th SEM IT6511 Networks Laboratory Manual is listed down for students to make perfect utilization and score maximum marks with our study materials.
- COMPUTER NETWORK Laboratory (15cs l57) V Semester (CBCS) Prepared by:- Mr. Gangadhar G H Asst. Sangeeta K Instructor. COMPUTER NETWORK LABORATORY As per Choice Based Credit System (CBCS) scheme (Effective from the academic year 2016 -2017) SEMESTER.
Anna University Regulation 2013 Information Technology (IT) 5th SEM IT6511 NETWORKS LAB-Networks Laboratory Manual
EX.NO:1 Implementation of Stop and Wait Protocol and Sliding Window Protocol
AIM:
To write a java program to perform sliding window.
ALGORITHM:
1.Start the program.
2.Get the frame size from the user
3.To create the frame based on the user request.
4.To send frames to server from the client side.
5.If your frames reach the server it will send ACK signal to client otherwise it will send NACK signal to client.
6.Stop the program
Program :
import java.net.*;
import java.io.*;
import java.rmi.*;
public class slidsender
{
public static void main(String a[])throws Exception
{
ServerSocket ser=new ServerSocket(10);
Socket s=ser.accept();
DataInputStream in=new DataInputStream(System.in);
DataInputStream in1=new DataInputStream(s.getInputStream());
String sbuff[]=new String[8];
PrintStream p;
int sptr=0,sws=8,nf,ano,i;
String ch;
do {
p=new PrintStream(s.getOutputStream());
System.out.print(“Enter the no. of frames : “);
nf=Integer.parseInt(in.readLine());
p.println(nf);
if(nf<=sws-1) {
System.out.println(“Enter “+nf+” Messages to be sendn”);
for(i=1;i<=nf;i++)
{
sbuff[sptr]=in.readLine();
p.println(sbuff[sptr]);
sptr=++sptr%8;
}
sws-=nf;
System.out.print(“Acknowledgment received”);
ano=Integer.parseInt(in1.readLine());
System.out.println(” for “+ano+” frames”); sws+=nf;
}
else {
System.out.println(“The no. of frames exceeds window size”);
break;
}
System.out.print(“nDo you wants to send some more frames : “);
ch=in.readLine(); p.println(ch);
}
while(ch.equals(“yes”));
s.close();
}
}
OUTPUT:
//SENDER OUTPUT
Enter the no. of frames : 4
Enter 4 Messages to be send
Computer Networks Lab Manual For Cse 7th Sem Vtu Pdf Download
hiii
how r u
i am fine
how is evryone
Acknowledgment received for 4 frames
Do you wants to send some more frames : no
//RECEIVER OUTPUT
The received Frame 0 is : hiii
The received Frame 1 is : how r u
Computer Networks Lab Manual For Cse 7th Sem Vtu Pdf Maths
The received Frame 2 is : i am fine
The received Frame 3 is : how is everyone
IT6511 NETWORKS Lab Manual with all experiments– Download Here
IT6511 NETWORKS Lab Manual with all experiments– Download Here
If you require any other notes/study materials, you can comment in the below section.
Related Links
For IT6511 NETWORKS Lab Syllabus – Click here
Search Terms
Anna University 5th SEM IT NETWORKS LAB Manual
IT6511 Networks Laboratory Manual free download
Anna University IT NETWORKS LAB Manual Regulation 2013
Computer Networks Lab Manual For Cse 7th Sem Vtu Pdf Textbook
IT6511 Manual, NETWORKS LAB experiment wise Manual – IT 5th Semester