-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2599323
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个timesync有bug,在(局域网)做同步数据频繁会造成丢包,貌似是 timesync(session, localtime, from) 的问题, 之前ios里用apple的Game Center Multiplayer做同步也没有丢包问题何况Game Center还是外网,最后把相关time.sync的代码注释掉,直接做转发同步就ok了。
2599323
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
udp 丢包是必须考虑的。所以这是一个特性。