Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Will 2nd msg arrive earlier?

This topic is 6001 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, As I know for the message transfer in the network, there has probability that the 1st msg will be arrived to the destination later than that of the 2nd msg. I would like to ask if I used DirectPlay8, will it have this kind of problem? Thanks, yanny

Share this post

Link to post
Share on other sites
From the docs:

If this flag is set, the target application will receive the messages in the order that they arrive at the user''s computer. If this flag is not set, messages are delivered sequentially, and will be received by the target application in the order that they were sent. Doing so may require buffering incoming messages until missing messages arrive.

Basically, there is a flag you can pass to the Send() / SendTo() methods if you don''t care about sequential ordering. The default is to process each message on the receiver as it was sent.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!