CSharpRedotTools / Multiplayer-2023-Old

Client + server template
MIT License
8 stars 2 forks source link

I suspect sending 50 SPacketPlayerJoinLeave packets is slow because I should be using Host.Broadcast instead of foreach Peer.Send #19

Closed valkyrienyanko closed 1 year ago

valkyrienyanko commented 1 year ago

This will involve testing out Host.Broadcast on the server-side. Just like Server.Send() enqueues to a concurrent queue. SendAll() will need to do the same.