You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 07:06:30 +09:00
Added code to rebind socket after a NetConnected socket error; thanks Rhee
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Lidgren.Network
|
||||
[CLSCompliant(false)]
|
||||
public static ulong GetUInt64()
|
||||
{
|
||||
#if !__ANDROID__ && !IOS && !UNITY_WEBPLAYER
|
||||
#if !__ANDROID__ && !IOS && !UNITY_WEBPLAYER && !UNITY_ANDROID && !UNITY_IPHONE
|
||||
ulong seed = (ulong)System.Diagnostics.Stopwatch.GetTimestamp();
|
||||
seed ^= (ulong)Environment.WorkingSet;
|
||||
ulong s2 = (ulong)Interlocked.Increment(ref m_seedIncrement);
|
||||
|
||||
Reference in New Issue
Block a user