Order of events

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

ojuergen
Posts: 8
Joined: 23 Feb 2017, 18:11

Order of events

Postby ojuergen » 25 Nov 2017, 12:27

Hello!

I have a question concerning the order of messages across the network. Say, I emit a number of ExtensionResponse events from one thread by calling SFSExtension.send(). Do I have a guarantee that a client will process the events in the same order when calling processEvents(), say from a c# API client? I guess, this question only makes sense if I restrict it to TCP.
Is there some place in the documentation that might help me? I couldn't find the answer after some research.

Thank you and best regards
Ole
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Order of events

Postby Lapo » 25 Nov 2017, 16:17

Hi,
yes multiple calls of the send() method are guaranteed to keep the order of the messages.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 72 guests