aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/ISsdpCommunicationsServer.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2019-07-27 17:50:17 -0700
committerGitHub <noreply@github.com>2019-07-27 17:50:17 -0700
commit85b277b872757d464c701e11350b47a07d98bf82 (patch)
tree2a6166e65c9c6be7006e97f7e2129cce837d5b30 /RSSDP/ISsdpCommunicationsServer.cs
parent80145cd5a3503164b3d42fcf44346edf570b711c (diff)
parent8270d0cc91783c0c8c052b43af0d633edb8b6b04 (diff)
Merge pull request #1524 from Bond-009/ipaddress
Remove IpAddressInfo and IpEndPointInfo classes
Diffstat (limited to 'RSSDP/ISsdpCommunicationsServer.cs')
-rw-r--r--RSSDP/ISsdpCommunicationsServer.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/RSSDP/ISsdpCommunicationsServer.cs b/RSSDP/ISsdpCommunicationsServer.cs
index c99d684a1..8cf65df11 100644
--- a/RSSDP/ISsdpCommunicationsServer.cs
+++ b/RSSDP/ISsdpCommunicationsServer.cs
@@ -1,7 +1,7 @@
using System;
+using System.Net;
using System.Threading;
using System.Threading.Tasks;
-using MediaBrowser.Model.Net;
namespace Rssdp.Infrastructure
{
@@ -40,13 +40,13 @@ namespace Rssdp.Infrastructure
/// <summary>
/// Sends a message to a particular address (uni or multicast) and port.
/// </summary>
- Task SendMessage(byte[] messageData, IpEndPointInfo destination, IpAddressInfo fromLocalIpAddress, CancellationToken cancellationToken);
+ Task SendMessage(byte[] messageData, IPEndPoint destination, IPAddress fromLocalIpAddress, CancellationToken cancellationToken);
/// <summary>
/// Sends a message to the SSDP multicast address and port.
/// </summary>
- Task SendMulticastMessage(string message, IpAddressInfo fromLocalIpAddress, CancellationToken cancellationToken);
- Task SendMulticastMessage(string message, int sendCount, IpAddressInfo fromLocalIpAddress, CancellationToken cancellationToken);
+ Task SendMulticastMessage(string message, IPAddress fromLocalIpAddress, CancellationToken cancellationToken);
+ Task SendMulticastMessage(string message, int sendCount, IPAddress fromLocalIpAddress, CancellationToken cancellationToken);
#endregion