Packet 3 is sent when the focus changes on/off the application. You can read the byte to see if the client has focus.
Packet 0 is an empty packet (silentPacket) that gets sent every now and again.
Both can be ignored (read as: handled but ignored).
|
Packet 3 is sent when the focus changes on/off the application. You can read the byte to see if the client has focus.
Packet 0 is an empty packet (silentPacket) that gets sent every now and again.
Both can be ignored (read as: handled but ignored).
Packet 3 shouldn't be sent all that often (depends on the user).
Packet 0 is indeed sent quite often. But I don't really know how often. At first glance I'd say once every 50 client ticks and a couple of times during map loading.
So not quite every millisecond, but with more players online it might look like that.
packet 0 is sent every 50 client cycles or so to make sure to keep the connection alive, 3 should only be sent when client focus changes.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |