1 # ----- receiver.py -----
12 s = socket(AF_INET,SOCK_DGRAM)
19 data,addr = s.recvfrom(buf)
22 print("Received File:",data.decode().strip())
23 f = open(data.decode().strip()+"2",'wb')
25 data,addr = s.recvfrom(buf)
30 data,addr = s.recvfrom(buf)
34 # print("File Downloaded")
35 elapsed_time += time.time() - t
37 print("receive bmp",elapsed_time)