Commit 2b07f82b authored by Xiaoying Pu's avatar Xiaoying Pu

just to check this is not completely crazy

parent b9c7d8f9
......@@ -5,9 +5,11 @@
>>>>>>> 77a28fc33ef0da0fce5fb1bd3cd373fbaa9b44a9
import socket
UDP_IP = ""
UDP_PORT = 9001
sd = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
socket.bind((UDP_IP, UDP_PORT))
while True:
data, addr = sd.recvfrom(1024)
print("recv: ", data)
\ No newline at end of file
Markdown is supported
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