I'm currently working on a udp socket program that broadcasts over subnet directed address (192.168.0.255). I have an image file in the server and I will send it to 3 clients. Everything works fine, but the only problem is the receiving client doesn't always finish at the same time with the server. Any tips in synchronizing udp transfer? Thank you
Asked
Active
Viewed 495 times
0
-
2Why not use TFTP, which implements some synchronization on top of UDP/IP? – Oren Kishon Dec 18 '14 at 09:23
-
Basically, I am trying to implement a UDP based TFTP, I'm just eliminating latency. – user3434206 Dec 30 '14 at 08:24
2 Answers
0
Basically, I am trying to implement a UDP based TFTP
From Wikipedia, Trivial File Transfer Protocol:
TFTP is a simple protocol for transferring files, implemented on top of the UDP/IP protocols …
Since TFTP is already based on UDP, you can quit reinventing the same.
… the current specification for the protocol can be found in RFC 1350.

Armali
- 18,255
- 14
- 57
- 171
0