Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can I be sure that UDP messages are received in order?



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

Post New Answer

More Unix Socket Programming Interview Questions

How come I get address already in use from bind()?

1 Answers  


If bind() fails, what should I do with the socket descriptor?

1 Answers  


How many sockets can a port have?

0 Answers  


Can multiple sockets use the same port?

0 Answers  


What is LILO?

2 Answers  


Are unix sockets faster than tcp?

0 Answers  


What are the pros/cons of select(), non-blocking I/O and SIGIO?

0 Answers  


What's better 6pt or 12pt sockets?

0 Answers  


How can I read only one character at a time?

1 Answers  


What exactly does SO_KEEPALIVE do?

1 Answers  


Why does connect() succeed even before my server did an accept()?

1 Answers  


What are the types of sockets?

0 Answers  


Categories