]> git.deb.at Git - rhonda/impostor.hazel.git/commitdiff
Revert "Unhandled exception caught"
authorJamJar00 <jamster.30@btinternet.com>
Sun, 8 Jan 2017 21:31:25 +0000 (21:31 +0000)
committerJamJar00 <jamster.30@btinternet.com>
Sun, 8 Jan 2017 21:31:25 +0000 (21:31 +0000)
This reverts commit c290203e94c6e56b71872cc59d21c04eb35edd0b.

Hazel/DarkRiftNetworking.Hazel.0.1.0-beta.nupkg [new file with mode: 0644]
Hazel/DarkRiftNetworking.Hazel.0.1.1-beta.nupkg [deleted file]
Hazel/Udp/UdpConnectionListener.cs

diff --git a/Hazel/DarkRiftNetworking.Hazel.0.1.0-beta.nupkg b/Hazel/DarkRiftNetworking.Hazel.0.1.0-beta.nupkg
new file mode 100644 (file)
index 0000000..fe5df70
Binary files /dev/null and b/Hazel/DarkRiftNetworking.Hazel.0.1.0-beta.nupkg differ
diff --git a/Hazel/DarkRiftNetworking.Hazel.0.1.1-beta.nupkg b/Hazel/DarkRiftNetworking.Hazel.0.1.1-beta.nupkg
deleted file mode 100644 (file)
index 15dadd2..0000000
Binary files a/Hazel/DarkRiftNetworking.Hazel.0.1.1-beta.nupkg and /dev/null differ
index 1363446c6a96dcc92c3f4efc808e3cf0508e1c64..6ad04e75c52b887c11c6e8af441ce3141fee93a9 100644 (file)
@@ -95,14 +95,6 @@ namespace Hazel.Udp
             {
                 return;
             }
-            catch (SocketException)
-            {
-                //Client no longer reachable, pretend it didn't happen
-                //TODO possibly able to disconnect failed client from this, see other TODO.
-
-                StartListeningForData();
-                return;
-            }
         }
 
         /// <summary>
@@ -129,11 +121,6 @@ namespace Hazel.Udp
             {
                 //Client no longer reachable, pretend it didn't happen
                 //TODO should this not inform the connection this client is lost???
-                
-                //Note, this thread suggests that the IP is not passed back from WinSoc on ICMP receipt so
-                //more research is probably needed to answer that, provisionally no. :(
-                //http://stackoverflow.com/questions/2576926/python-socket-error-on-udp-data-receive-10054
-                
                 StartListeningForData();
                 return;
             }