version 4

This commit is contained in:
Mohamed Ait-Taleb 2023-05-10 11:05:13 +01:00
parent a96e24c62c
commit becc7c5542
6 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -3,7 +3,7 @@
#include <mictcp.h>
#include <api/mictcp_core.h>
#define NBR_SOCKETS 1024
#define TIMEOUT_DEFAUT 5000000
#define TIMEOUT_DEFAUT 1000
#define WINDOW_SIZE 10
#define LOSS_ACCEPTABILITY 20 // sur 100
#define ATTENTE_ACK 1
@ -705,4 +705,4 @@ int accept_loss(int socket){
void addValueCircularBuff(circularBuffer* buffer, char Value ){
buffer->table[buffer->last_index+1%WINDOW_SIZE]=Value;
buffer->last_index = buffer->last_index + 1 % WINDOW_SIZE;
}
}