mirror of
https://github.com/Stone-Red-Code/HyperbolicDownloader.git
synced 2026-09-08 15:56:23 +02:00
Code cleanup
This commit is contained in:
@@ -43,7 +43,7 @@ internal class BroadcastClient
|
||||
byte[] sendbuf = Encoding.ASCII.GetBytes(message);
|
||||
IPEndPoint ep = new IPEndPoint(broadcast, port);
|
||||
|
||||
socket.SendTo(sendbuf, ep);
|
||||
_ = socket.SendTo(sendbuf, ep);
|
||||
}
|
||||
|
||||
public void StartListening(int port)
|
||||
@@ -58,7 +58,7 @@ internal class BroadcastClient
|
||||
udpListener = new UdpClient(port);
|
||||
IPEndPoint groupEP = new IPEndPoint(IPAddress.Any, port);
|
||||
|
||||
Task.Run(() =>
|
||||
_ = Task.Run(() =>
|
||||
{
|
||||
while (IsListening)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user