SFSEvent.PING_PONG - callback

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

Jochanan
Posts: 79
Joined: 11 May 2018, 09:12

SFSEvent.PING_PONG - callback

Postby Jochanan » 23 Aug 2019, 14:07

Hi, can i get callback before SFSEvent.PING_PONG is triggered on client?
Right now, there is callback for server response, but i need to monitor the event of client pinging to server. Is it possible?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SFSEvent.PING_PONG - callback

Postby Lapo » 23 Aug 2019, 14:35

Before it is triggered on client?
The PING_PONG event is triggered as soon as the message arrives to the client. There is no "before".

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Jochanan
Posts: 79
Joined: 11 May 2018, 09:12

Re: SFSEvent.PING_PONG - callback

Postby Jochanan » 27 Aug 2019, 08:31

I would expect, that to measure PING you have to measure time between request-response. Now, you have callback on response and i was asking about the callback when you do request on server.

It is not needed now, because we had created our own ping system anyway.

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 47 guests