Added the bound IP address to the server options.

This commit is contained in:
Christian Kratky
2017-12-14 13:23:12 +01:00
parent 44c07c2034
commit e0284886b5
5 changed files with 48 additions and 17 deletions
@@ -1,4 +1,6 @@
namespace MQTTnet.Server
using System.Net;
namespace MQTTnet.Server
{
public sealed class MqttServerTlsEndpointOptions
{
@@ -7,5 +9,7 @@
public int? Port { get; set; }
public byte[] Certificate { get; set; }
public IPAddress BoundIPAddress { get; set; } = IPAddress.Any;
}
}