How to audit exactly how many and which bytes are being transmitted between the client/server?

Derived from my previous question, always trying to improve communication performance between Local Script and Server Script, I’d like to know if is there any tool where I can audit/verify exactly how many and which bytes are being transmitted between the two sides?

For example, when I run this:

Result = RemoteFunction:InvokeServer(MeshPart)

How can I check exactly which bytes were transmitted on the way (LocalScript → Server) and which bytes were transmitted on the way back (Server → LocalScript)?

1 Like

Wireshark should be able to help you with this. You can measure the bandwidth before the message is sent and as the message is sent. I would recommend doing this in a nearly empty game with the minimum instances to complete your request.

3 Likes

A TCP joke.

“Hi, I’d like to hear a TCP joke.”
“Hello, would you like to hear a TCP joke?”
“Yes, I’d like to hear a TCP joke.”
“OK, I’ll tell you a TCP joke.”
“Ok, I will hear a TCP joke.”
“Are you ready to hear a TCP joke?”
“Yes, I am ready to hear a TCP joke.”

I’d tell you a UDP joke but you might not get it.

1 Like