在这个快照中,右上角的大帧显示了添加到stringbuilder类中的计时包装器方法的分解。
In this shot the large frame in the upper right shows the disassembly of the timing wrapper method added to the StringBuilder class.
计时问题的一个简单解决方法是让游戏固定运行在25帧每秒。
An easy solution to the timing issue is to just let the game run on a steady 25 frames per second. The code then looks like this.
最后发方将会不计时,并且由丢失的或损坏的一帧开始,重发所有未接收的帧。
The sender eventually will time out and retransmit all unacknowledged frames, beginning with the lost or damaged one.
应用推荐