version 4
This commit is contained in:
parent
a96e24c62c
commit
becc7c5542
6 changed files with 2 additions and 2 deletions
Binary file not shown.
BIN
build/client
BIN
build/client
Binary file not shown.
BIN
build/gateway
BIN
build/gateway
Binary file not shown.
BIN
build/mictcp.o
BIN
build/mictcp.o
Binary file not shown.
BIN
build/server
BIN
build/server
Binary file not shown.
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue