I was debugging some issues with this module when I noticed that file logging doesn't work anymore.
Which is why I added all the threads ldn itself would open and modified the logging functions.
I also replaced most of the ipinfo functions with libnx calls, since they are all supported now.
Additionally @AcK77 figured out that ldn sets the MTU to 1500 for it's own connection! So now the MTU is modified to 1500 in LanDiscovery.Initialize() and restored in LanDiscovery.Finalize() again.
The call within ldn itself seems to take place in CreateNetwork() and in Connect().
Thanks to @AcK77 for helping me work on this issue!
I was debugging some issues with this module when I noticed that file logging doesn't work anymore. Which is why I added all the threads ldn itself would open and modified the logging functions.
I also replaced most of the ipinfo functions with libnx calls, since they are all supported now.
Additionally @AcK77 figured out that ldn sets the MTU to 1500 for it's own connection! So now the MTU is modified to 1500 in LanDiscovery.Initialize() and restored in LanDiscovery.Finalize() again.
The call within ldn itself seems to take place in CreateNetwork() and in Connect().
Thanks to @AcK77 for helping me work on this issue!