Ruffles icon indicating copy to clipboard operation
Ruffles copied to clipboard

Flush Network Logic from Main Thread

Open dungeon2567 opened this issue 5 years ago • 2 comments

Flush Network Logic from Main Thread (RuffleSocket.FlushMessages())

dungeon2567 avatar Jul 16 '20 01:07 dungeon2567

What is the purpose of this exactly? To delay the running of connection.Update() to the end of the frame?

TwoTenPvP avatar Jul 22 '20 07:07 TwoTenPvP

Yes, run connection.Update() exactly at end of the frame (when all packets are written and ready to be sent)

dungeon2567 avatar Jul 22 '20 17:07 dungeon2567