aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/RequestReceivedEventArgs.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-04 16:55:02 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-04 16:55:02 -0500
commit8c8f2aaba5e4bf573efe2730b5450a8c07abe1b3 (patch)
tree34ed236696c0400c1d209985fe6450ac8adc8360 /RSSDP/RequestReceivedEventArgs.cs
parent598f1cf2bddebbd167ed70470e54a2504ca4c0a7 (diff)
first pass at binding to multiple network addresses
Diffstat (limited to 'RSSDP/RequestReceivedEventArgs.cs')
-rw-r--r--RSSDP/RequestReceivedEventArgs.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/RSSDP/RequestReceivedEventArgs.cs b/RSSDP/RequestReceivedEventArgs.cs
index fb4fac871..03c059634 100644
--- a/RSSDP/RequestReceivedEventArgs.cs
+++ b/RSSDP/RequestReceivedEventArgs.cs
@@ -22,17 +22,18 @@ namespace Rssdp.Infrastructure
#endregion
- #region Constructors
+ public IpAddressInfo LocalIpAddress { get; private set; }
+
+ #region Constructors
/// <summary>
/// Full constructor.
/// </summary>
- /// <param name="message">The <see cref="HttpRequestMessage"/> that was received.</param>
- /// <param name="receivedFrom">A <see cref="UdpEndPoint"/> representing the sender's address (sometimes used for replies).</param>
- public RequestReceivedEventArgs(HttpRequestMessage message, IpEndPointInfo receivedFrom)
+ public RequestReceivedEventArgs(HttpRequestMessage message, IpEndPointInfo receivedFrom, IpAddressInfo localIpAddress)
{
_Message = message;
_ReceivedFrom = receivedFrom;
+ LocalIpAddress = localIpAddress;
}
#endregion