diff --git a/Lawo.GlowAnalyzerProxy.Main/ListenFailedEventArgs.cs b/Lawo.GlowAnalyzerProxy.Main/ListenFailedEventArgs.cs new file mode 100644 index 00000000..c6dbfdf8 --- /dev/null +++ b/Lawo.GlowAnalyzerProxy.Main/ListenFailedEventArgs.cs @@ -0,0 +1,28 @@ +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// Copyright 2012-2015 Lawo AG (http://www.lawo.com). +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +namespace Lawo.GlowAnalyzerProxy.Main +{ + using System; + using System.Net.Sockets; + + internal sealed class ListenFailedEventArgs : EventArgs + { + private readonly SocketException exception; + + //////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + internal ListenFailedEventArgs(SocketException exception) + { + this.exception = exception; + } + + internal SocketException Exception + { + get { return this.exception; } + } + } +}