LiteNetLib
LiteNetLib copied to clipboard
improve PausedSocketFix, Fix peerIdsQueue
- Added PausedSocketFix usage is now optional via NetManager ctor. Default set to use.
- Fixed peer Ids not returning to _peerIdsQueue.
- Improved queue usage to be more flexible with other applications.
- Improved added error checking for when no more peerIds are available.
- Changed _lastPeerId to _nextPeerId for clarity.
- Changed UNITY_2018__3_OR_NEWER define related to PausedSocketFix to UNITY_SOCKET_FIX for clarity.
Can you separate please PeerIds commit and PausedSocketFix?
Can you separate please PeerIds commit and PausedSocketFix?
Yeah absolutely. It might take me a couple days(maybe not), but I will.
Closing this to make separate PRs.