mirror of
https://github.com/Stone-Red-Code/HyperbolicDownloader.git
synced 2026-09-09 15:56:25 +02:00
Fix code formatting and decrease host answer delay
This commit is contained in:
@@ -108,9 +108,10 @@ public class HostCommands
|
||||
|
||||
string ipAddressInput = parts[0];
|
||||
string portInput = parts[1];
|
||||
IPAddress? ipAddress = null;
|
||||
IPAddress? ipAddress;
|
||||
|
||||
_ = int.TryParse(portInput, out int port);
|
||||
|
||||
if (port < 1000 || port >= 6000)
|
||||
{
|
||||
ApiManager.SendMessageNewLine("Invalid port number!", NotificationMessageType.Error);
|
||||
|
||||
Reference in New Issue
Block a user