I've got a problem with my soft ap solution. When i connect a client to the ap the connection gets established and everything works fine. But I've noticed that when i set a ping to the host, it looses connection every 2 minutes and then suddenly regains connection. This unfortunatly is unnacceptable for my solution.
I found this link: On using the WiFi Direct Api on Windows? , which describes the same problem, but the answer isn't clear enough and i would like a code example or a more elaborate explanation.
In my solution, I use this class: https://learn.microsoft.com/en-us/uwp/api/windows.devices.wifidirect.wifidirectadvertisementpublisher?view=winrt-19041 with legacy settings set to "enabled": https://learn.microsoft.com/en-us/uwp/api/windows.devices.wifidirect.wifidirectlegacysettings.isenabled?view=winrt-19041