I am looking into minimizing network traffic if I can … so here are some questions about Zay-Es-Net.
Using the Zay-ES-Net example sending a Name component (having only a String) and a Position component (having a Vector3f and a Quaternion).
Does Zay-Es-Net only send updated data? That is to say: Does it send only components that haven’t changed?
i.e. I can see the Name Component’s string each time the client receives an update in the console outputs. Is the string data being sent each time, even though the String in the Name component doesn’t change? I checked the packets being sent between two PCs on my LAN using WireShark, but I could not detect any recognizable Strings in the packets. So …
Is the data sent being compressed?
SpiderMonkey can use TCP and UDP. Does Zay-ES-Net transport data on both? Or does it have a preference?
Note that when I set the UPD port to -1 on either the client, or the server, or both, I got no transport at all. I was attempting to use only TCP transport.
If both are used, is the data duplicated?
I guess that’s it for the moment. Thanks in advance.