Vote count:
1
I have a simple UDP server implemented in python:
import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.bind(("",10005))
while True:
data = sock.recv(1024)
I run this code on computer A. I send UDP commands from computer B in these two situations:
- Both A and B are connected to a router in a local network via LAN cable.
- Both A and B are connected to router over Wifi.
The UDP packets are received in situaltion 1 (LAN Cable) but not in situation 2 (over Wifi). In both the cases Wireshark shows the received packet on computer A. Any thoughts?
OS: Windows
asked 1 min ago
Python socket works over LAN but not over Wifi
Aucun commentaire:
Enregistrer un commentaire