UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

#1 2002-07-26 11:40 PM

HectorLasso
Administrator
From: Colombia
Registered: 2002-06-12
Posts: 352

Re: 5.6 - How to be sure that UDP messages are received in order

6

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.

Offline

Board footer

Powered by FluxBB