mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-26 03:59:34 +08:00
f
This commit is contained in:
@@ -41,7 +41,7 @@ namespace System.Net.WebSocket
|
||||
throw new ArgumentException("Invalid IP address");
|
||||
var random = new Random();
|
||||
port = random.Next(10000, 25564);
|
||||
while (!IsPortOccupedFun(port))
|
||||
while (IsPortOccupedFun(port))
|
||||
{
|
||||
port = random.Next(10000, 25564);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user