Questions tagged [go-back-n]

Go-Back-N ARQ is a specific instance of the automatic repeat request (ARQ) protocol, in which the sending process continues to send a number of frames specified by a window size even without receiving an acknowledgement (ACK) packet from the receiver.

Definition:

Go-Back-N ARQ is a specific instance of the automatic repeat request (ARQ) protocol, in which the sending process continues to send a number of frames specified by a window size even without receiving an acknowledgement (ACK) packet from the receiver.

Important Links:

23 questions
0
votes
1 answer

signal alarm fails too soon

I have a signal where I set a callback handler and then in my function I call alarm(1) so that my program will time out after 1 second. Upon timing out I'd like it to retry to same blocking call recvfrom() until a set MAX_ATTEMPTS which is 5.…
Cyzanfar
  • 6,997
  • 9
  • 43
  • 81
0
votes
1 answer

Go Back N on SDN based Network

is it possible to implement GBN conjestion window in SDN based network, while we have 2 possible routes (through R1 or R2) from the clinet to the server and we want to use both of them to increase tcp performance. thanks in advance.
0
votes
1 answer

The retransmitted sequence number of Go-Back-N and Selective Repeat

Can you help me answer this question and explain it? Thank you.
Jack
  • 11
  • 1
0
votes
0 answers

react-native back button android kill app not going to the previous screen

I use React-native and Stack-navigator to navigate between screen. When I go for the Screen1 to the screen2, I would like to use the native button (back in android, I don't know how int called) but it killed the app instead of going back. this is an…
0
votes
1 answer

What ARQ protocol do Java Sockets implement by default?

I'm using Java Sockets from package java.net. I read that they use TCP, so I was curious to know which ARQ (Automatic Repeat reQuest) protocol they implement by default. I've looked in the documentation but could not find any information about…
Andrea Rossi
  • 981
  • 1
  • 10
  • 23
0
votes
1 answer

Stuck in a timeout loop from using alarm();

I'm attempting to implement a GoBackN protocol and when the server drops a packet, my alarm waits 2 seconds before sending all previously sent packets. The alarm works and waits 2 seconds, however after the first timeout, the state machine I'm using…
Austin Heath
  • 75
  • 1
  • 3
  • 9
0
votes
1 answer

What is causing a C++ Buffer Overrun error with fprintf?

I am trying to set up a Client, Router, Server in C++ with sockets and UDP using GoBackN windowing. I'm not sure why I'm getting a buffer overrun error in Client::write_log(), at the fprintf() line. Main run() function void Client::run() { srand…
stevetronix
  • 1,231
  • 2
  • 16
  • 32
0
votes
1 answer

Kurose Simulated Network Environment, Go-Back-N

I'm trying to write the code for a simulated network environment that uses Go-Back-N in C for class. However, I keep getting into some sort of infinite loop involving my A_timerinterrupt() method. Below is the C file, so you can take a look at it…
Ruben Martinez Jr.
  • 3,199
  • 5
  • 42
  • 76
1
2