Add response to discover command.

This commit is contained in:
Stone_Red
2023-02-06 15:28:53 +01:00
parent fb21a9f492
commit 6f9626fcfd
2 changed files with 6 additions and 1 deletions
@@ -149,7 +149,7 @@ public class ApiManager
return;
}
_ = hostsToSend.RemoveAll(x => x.IPAddress == recivedEventArgs.IPEndPoint.Address.ToString());
_ = hostsToSend.RemoveAll(x => x.IPAddress == remoteIpAddress.ToString());
hostsToSend.Add(localSocket);
bool success = int.TryParse(recivedEventArgs.Message, out int remotePort);