mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-20 19:58:57 +08:00
Fix breaking changes
This commit is contained in:
@@ -329,7 +329,11 @@ namespace MQTTnet.TestApp.UniversalWindows
|
||||
return;
|
||||
}
|
||||
|
||||
_mqttServer = new MqttFactory().CreateMqttServer();
|
||||
_mqttServer = new MqttFactory().CreateMqttServer(o =>
|
||||
{
|
||||
o.DefaultEndpointOptions.Port = int.Parse(ServerPort.Text);
|
||||
});
|
||||
|
||||
await _mqttServer.StartAsync();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user