Jump to content

  • Log In with Google      Sign In   
  • Create Account

Message Guaranteed


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 unrealcode   Members   -  Reputation: 122

Like
Likes
Like

Posted 23 April 2000 - 05:05 PM

I want to know how Dplay Message Guaranteed work? when use send message with DPSEND_GUARANTEED, why spend more time? if Dplay send this message more times untill receive a replay to this message? Does Send message function not return immediatly? thank every who can help me!

Sponsor:

#2 Void   Members   -  Reputation: 126

Like
Likes
Like

Posted 26 April 2000 - 05:14 PM

Whether Send returns immediately or not depends whether u are calling Send with synchronous or async flag.

As for the guaranteed, it means when the message is broken up into small packets and send over the network, the message is guaranteed to appear on the other side..

The sad thing is if one packet is lost, the whole message is meaningless and is discarded..

So how does the sender knows if the recevier has got the whole message? The receiver must acknowledge to the sender that is has received the message so the sender will not keep sending it,

but what happens if the acknowledgement message from the recevier gets lost..then all the networking headaches come in, which you can find more details in any decent networking book.

This is all about network protocol. You only need to be bothered whether you want your application to wait until the receiver is guaranteed to have receive the message or not, by specifying the flags in the Send function




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS