Does JavaScript client not receive extension response sometime?

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

Moderators: Lapo, Bax

crimsonfantasy
Posts: 13
Joined: 21 Feb 2018, 03:02

Does JavaScript client not receive extension response sometime?

Postby crimsonfantasy » 20 Aug 2018, 09:49

Our game have a countdown event.
Server send countdown event (using SFSExtension Response) every second,
If total time is 15, server send events subsequently to client every second, like this 15, 14,13....0
Server logs every extension response before sending response.
Every thing are well in log file, but client say that not received one of message something, not frequency.
How do I trace this kind of issue?
Thank you.
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Does JavaScript client not receive extension response sometime?

Postby Lapo » 20 Aug 2018, 14:26

Hello,
Javascript uses websocket, which uses TCP, so packets are guaranteed to be transmitted and delivered in order.

If a client doesn't receive one of those timer events it should also stop to receive anything else after that.
In other words if a client receives timer event 15, 14, 13 and then stops, I would expect no other data is ever received from the server.

Is this what is happening?

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

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 68 guests