我在物体下面,但无法从“ recvfrom”中读取
<socket.socket fd=1176, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('169.254.103.73', 6970)>
我的代码:
receive_server_addr = receive_sock.getsockname()
while True:
try:
print('data-------------> ')
data, server = receive_sock.recvfrom(65565)
print("Working")
它没有抛出任何错误,但是没有用。