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 |
After the chroot(), calls to socket() are failing. Why?
What are Sockets?
What exactly does SO_REUSEADDR do?
Why does it take so long to detect that the peer died?
What is socket programming in java?
What is difference between socket and websocket?
What is the difference between read() and recv()?
What exactly does SO_LINGER do?
What is difference between socket () and serversocket () class?
How does unix socket work?
What is the purpose of socket?
How can I bind() to a port number < 1024?