Commit 9ee7a4f1 authored by thomas alfroy's avatar thomas alfroy
Browse files

modifs for issue

parent 6d291a60
......@@ -18,7 +18,7 @@ TYPE_FIN = 2
TYPE_ACK = 16
TYPE_RST = 4
MAX_PACKETS = 100
MAX_PACKETS = 0
def help():
print("Usage : python3 medium.py [option]\n\n" \
......@@ -177,7 +177,8 @@ while con:
else:
if random.random() <= 0.7:
sock_sender.sendto(data, (dest_recv, port_recv))
else:
sock_sender.sendto(data, (dest_recv, port_recv))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment