aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/ISsdpCommunicationsServer.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-07-07 21:03:26 +0200
committerBond_009 <bond.009@outlook.com>2019-07-25 00:15:06 +0200
commitddd1a282ea6398ee26d74321338d0445d0a0c796 (patch)
tree5718f5f39f84941119d0fed350c33299d2adf282 /RSSDP/ISsdpCommunicationsServer.cs
parente8028de4d7cf1372dad54a7d871e853ac737d023 (diff)
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