How can I be sure that UDP messages are received in order?
Answer / chaitanya
You can't. What you can do is make sure that messages are processed in order by using a numbering system as mentioned in ``5.5 How can I be sure that a UDP message is received?''. If you need your messages to be received and be received in order you should really consider switching to TCP. It is unlikely that you will be able to do a better job implementing this sort of protocol than the TCP people already have, without a significant investment of time.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can I be sure that UDP messages are received in order?
Where can a get a library for programming sockets?
What is the difference between read() and recv()?
What is a socket set used for?
system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?
Can a socket have multiple ports?
What's better 6pt or 12pt sockets?
When should I use shutdown()?
What is LILO?
How can I find the full hostname (FQDN) of the system I am running on?
What is socket programming in java?
What pieces of information make up a socket?