Computer Networks 10 Algorithm used for Stop and wait protocol and Simplest protocol

preview_player
Показать описание
These videos are helpful for the following Examinations - GATE Computer Science, GATE Electronics and Communication, NTA UGC NET Computer Science & Applications, ISRO, DRDO, NIELIT, Placement Preparation, etc.

#Call_9821876104 #GATE #NTAUGCNET
Рекомендации по теме
Комментарии
Автор

Sir from the Stop-and-wait the sender-side the lines:

while(true)
CanSend = true;
{
The rest of the code
}


Has problem since the canSend = true; is between the while(true) and the surely braces the program will take the canSend = true; as body of the loop and will be executed forever and never execute the lines after that. If we want to solve the problem we need to replace lines 1 and 2 as below:

CanSend = true;
While(true)
{
The rest of the code
}

Thanks.

blndazeez
Автор

that is stop and wait or stop and wait ARQ? Because ack aren't there in SW.

sahilarora
visit shbcf.ru