I am programming program which has to be controlled by UDP shell. I’ve got receive part correctly all seems to work, but the sending part doesn’t seem to work.
I’ve checked up with wireshark and got following result:
def send(command): global ipv4 global port sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.connect((ipv4, int(port))) sock.send(bytes(command, 'utf-8'))
Is it caused by code or by my router?
Note: Both sending computer and receiving one have linux on them.