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,9 +1,13 @@
namespace MQTTnet.Server
using System.Net;
namespace MQTTnet.Server
{
public sealed class MqttServerDefaultEndpointOptions
{
public bool IsEnabled { get; set; } = true;
public int? Port { get; set; }
public IPAddress BoundIPAddress { get; set; } = IPAddress.Any;
}
}