|
@@ -22,7 +22,7 @@ arrlog = open("arrival.log", "a")
|
|
|
expected = 0 # next packet # expected
|
|
|
confirmed = None # last confirmed packet
|
|
|
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # socket!
|
|
|
-sock.bind(('localhost', rport)) # set socket to recv on rport
|
|
|
+sock.bind(('', rport)) # set socket to recv on rport
|
|
|
pack_size = 512 # packet size in bytes
|
|
|
|
|
|
# let's get this bread! I mean packets. yes, I re-used that joke.
|