diff options
| author | whooo <who+github@cnackers.org> | 2019-08-11 12:42:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-11 12:42:19 +0200 |
| commit | 9556561a7794dc65a8565194aedf65700d0bcd95 (patch) | |
| tree | 31403a07db0de8090b7bcd6db8ac24728d66090b /RSSDP/ISsdpCommunicationsServer.cs | |
| parent | a1efe4caca8cc444f9d3caa6a45edea7e959c41a (diff) | |
| parent | a96fa7a5c705d8b694c828ff451a77d60711d329 (diff) | |
Merge branch 'master' into master
Diffstat (limited to 'RSSDP/ISsdpCommunicationsServer.cs')
| -rw-r--r-- | RSSDP/ISsdpCommunicationsServer.cs | 8 |
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 |
