diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-12-04 16:55:02 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-12-04 16:55:02 -0500 |
| commit | 8c8f2aaba5e4bf573efe2730b5450a8c07abe1b3 (patch) | |
| tree | 34ed236696c0400c1d209985fe6450ac8adc8360 /MediaBrowser.Model/Net/IUdpSocket.cs | |
| parent | 598f1cf2bddebbd167ed70470e54a2504ca4c0a7 (diff) | |
first pass at binding to multiple network addresses
Diffstat (limited to 'MediaBrowser.Model/Net/IUdpSocket.cs')
| -rw-r--r-- | MediaBrowser.Model/Net/IUdpSocket.cs | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/MediaBrowser.Model/Net/IUdpSocket.cs b/MediaBrowser.Model/Net/IUdpSocket.cs index ef090e010..c70510726 100644 --- a/MediaBrowser.Model/Net/IUdpSocket.cs +++ b/MediaBrowser.Model/Net/IUdpSocket.cs @@ -10,16 +10,18 @@ namespace MediaBrowser.Model.Net /// Provides a common interface across platforms for UDP sockets used by this SSDP implementation. /// </summary> public interface IUdpSocket : IDisposable - { - /// <summary> - /// Waits for and returns the next UDP message sent to this socket (uni or multicast). - /// </summary> - /// <returns></returns> - Task<SocketReceiveResult> ReceiveAsync(); + { + IpAddressInfo LocalIPAddress { get; } + + /// <summary> + /// Waits for and returns the next UDP message sent to this socket (uni or multicast). + /// </summary> + /// <returns></returns> + Task<SocketReceiveResult> ReceiveAsync(); /// <summary> /// Sends a UDP message to a particular end point (uni or multicast). /// </summary> Task SendAsync(byte[] buffer, int bytes, IpEndPointInfo endPoint); - } + } }
\ No newline at end of file |
