Fix some resharper warnings and errors

This commit is contained in:
Flamefire committed 2014-12-02 21:59:33 +01:00
1 parent 167202e8ff
commit cd59b82b7b
35 files changed
+82 -174

No files matched your search

+3 -2
View File
@@ -104,8 +104,9 @@ namespace ServerLib
IPEndPoint groupEp = new IPEndPoint(IPAddress.Any, _Port);
listener.Client.ReceiveTimeout = timeout;
byte[] bytes = listener.Receive(ref groupEp);
string message = Encoding.UTF8.GetString(bytes, 0, bytes.Length);
//byte[] bytes =
listener.Receive(ref groupEp);
//string message = Encoding.UTF8.GetString(bytes, 0, bytes.Length);
foundSomething = true;
if (!knownServer.Contains(groupEp.Address.ToString()))