From 34277201896c91eb40dbd47300acdae6b2324512 Mon Sep 17 00:00:00 2001 From: JamJar00 Date: Tue, 29 Nov 2016 23:46:08 +0000 Subject: [PATCH] Bugfix --- Hazel/Udp/UdpConnectionListener.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Hazel/Udp/UdpConnectionListener.cs b/Hazel/Udp/UdpConnectionListener.cs index 1d10489..66617b9 100644 --- a/Hazel/Udp/UdpConnectionListener.cs +++ b/Hazel/Udp/UdpConnectionListener.cs @@ -119,9 +119,9 @@ namespace Hazel.Udp } catch (SocketException e) { - //Errrr... shit... - //Not exactly much we can do if we've got here - throw e; + //Client no longer reachable, pretend it didn't happen + StartListeningForData(); + return; } //Exit if no bytes read, we've closed. -- 2.39.5