@@ -53,7 +53,8 @@ sock.bind(('localhost', rport))
# start receiver thread
# receiver function
def receiver():
- #global confirmed
+ global confirmed
+ global waking
while(True):
# get a packet, turn into packet type