Table of Contents

Class MqttServerTcpEndpointBaseOptions

Namespace
MQTTnet.Server
Assembly
MQTTnet.dll
public abstract class MqttServerTcpEndpointBaseOptions
Inheritance
MqttServerTcpEndpointBaseOptions
Derived
Inherited Members

Constructors

MqttServerTcpEndpointBaseOptions()

protected MqttServerTcpEndpointBaseOptions()

Properties

AllowPacketFragmentation

Usually the MQTT packets can be send partially. This is done by using multiple TCP packets or WebSocket frames etc. Unfortunately not all clients do support this feature and will close the connection when receiving such packets. If such clients are connecting to this server the flag must be set to false.

public bool AllowPacketFragmentation { get; set; }

Property Value

bool

BoundInterNetworkAddress

public IPAddress BoundInterNetworkAddress { get; set; }

Property Value

IPAddress

BoundInterNetworkV6Address

public IPAddress BoundInterNetworkV6Address { get; set; }

Property Value

IPAddress

ConnectionBacklog

public int ConnectionBacklog { get; set; }

Property Value

int

IsEnabled

public bool IsEnabled { get; set; }

Property Value

bool

KeepAlive

Gets or sets whether the sockets keep alive feature should be used. The value null indicates that the OS and framework defaults should be used.

public bool? KeepAlive { get; set; }

Property Value

bool?

LingerState

public LingerOption LingerState { get; set; }

Property Value

LingerOption

NoDelay

public bool NoDelay { get; set; }

Property Value

bool

Port

public int Port { get; set; }

Property Value

int

ReuseAddress

This requires admin permissions on Linux.

public bool ReuseAddress { get; set; }

Property Value

bool

TcpKeepAliveInterval

Gets or sets the TCP keep alive interval. The value null indicates that the OS and framework defaults should be used.

public int? TcpKeepAliveInterval { get; set; }

Property Value

int?

TcpKeepAliveRetryCount

Gets or sets the TCP keep alive retry count. The value null indicates that the OS and framework defaults should be used.

public int? TcpKeepAliveRetryCount { get; set; }

Property Value

int?

TcpKeepAliveTime

Gets or sets the TCP keep alive time. The value null indicates that the OS and framework defaults should be used.

public int? TcpKeepAliveTime { get; set; }

Property Value

int?