I want to implement simple TFTP protocol, but I have problem:
Client send request to the server, where the server port is 69. Then server sends back 512 bytes of data, or an ACK. But , server is not sending data on 69 , but on new port (TID). (RFC 1350)
Must I have two different sockets for this? Two connections, two binds?
When I duplicate all, I have also problems, they can not communicate.
They communicate just if the client and the server have the same port: 69 ! Why ?