I am establishing a TFTP connection using UDP. My client is able to successfully send a request to server
cSocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cSocket.bind(('', clientPort))
cSocket.settimeout(1)
cSocket.sendto(key, (Serverip, 69))
And server is able to receive it
serverSock.bind((serverIP, 69))
request, clientIP = serverSock.recvfrom(1024)
Now from anthother port server is responding back to client with an acknowledgement
aSocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
aSocket.settimeout(0.1)
aSocket.sendto(byteArray, (clientIP, clientPort))
From Wireshark I am able to see the acknoledgement send from server but
data, addr = cSocket.recvfrom(1024)
Leads to a timeout exception. Where did i went wrong?