-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env
23 lines (21 loc) · 759 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Sender settings for src/Sender.py
SENDER_LOG_FILENAME=./logs/SenderPKT.log
SENDER_LOG_LOGGER=./logs/SenderStream.log
SENDER_PORT=9430
SENDER_DEBUG=False
# Receiver settings for src/Receiver.py
RECEIVER_LOG_FILENAME=./logs/ReceiverPKT.log
RECEIVER_LOG_LOGGER=./logs/ReceiverStream.log
RECEIVER_PORT=8463
RECEIVER_DEBUG=False
# Overall settings
CHECKSUM_VAL=99 # what value will generate the checksum
ENTRY_LENGTH=4 # how long a binary representation will be
DEFAULT_WINDOW_SIZE=500 # the number of bytes that a TCP packet can advertise for its window size
BYTES_TO_RECEIVE=12288 # How much data will the sender/receiver retrieve at once?
HOST=localhost
IP=127.0.0.1
DATA_TO_SEND=./data/1.txt
FIXED_TIMEOUT_DELAY=0.5
IDLE_TIMEOUT=0.475
MISC=./logs/Misc.log