Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Server to Client Ping Paket Breakdown

$
0
0
Hi,

I am new, so please forgive me when I am posting in the wrong section.
Currently I am analyzing traffic of a game to get a little known to how Photon works and what things are being sent over the wire.

I downloaded the Server On Premise SDK where I found the Photon.SocketServer library. I did that because I clearly dont understand how the Ping Packet works.

The client sends 5 bytes to server (first byte indicating that its a ping packet (hex value 0xF0), rest four bytes is an integer with TickCount of client.

But the game I am analyzing gets a Ping packet of 9 bytes back. Last 4 bytes of this packet is same like the client sent, but the integer before those last 4 bytes is unknown to me.. So I decided to look into the Photon Server and find the Ping sending...And I found SendPing function but it also does only send 5 packets to client which is what I dont understand..

Here a screenshot of the server ping packet to client.: https://puu.sh/yVv0I/4444bed65d.png

Hope you can help me out.
Thanks

Viewing all articles
Browse latest Browse all 1557

Trending Articles