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

0

Share this post

Link to post

Share on other sites

DPNSEND_NONSEQUENTIAL 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.