title: How to allow incoming unicast UDP packets in Windows 10 Universal App?
body: <p>My DSLM camera can send liveview over unicast UDP via WiFi connection. There are two ways to connect.</p>
  
  <ul>
  <li>Setting camera into WiFi AP mode and connect Windows 10 device to it.</li>
  <li>Connect camera to WiFi AP common for Windows 10 device. Device can connect to AP as by WiFi as by wire.</li>
  </ul>
  
  <p>UWP <code>DatagramSocket</code> class can receive unicast UDP packets only if connected Network is marked as <strong>discoverable</strong> in connection settings. Network can be set discoverable in different ways for wire (Ethernet menu) and for WiFi (WiFi menu). By default Windows 10 connects to new network as public connection with discovery option disabled.</p>
  
  <p>Is it possible anyhow in UWP API to enable incoming unicast UDP traffic to specific port from camera in local network even if connection is <strong>public</strong>? I can set camera to use any port I want.</p>
  
  <p>If that is not possible how to switch specific connection to private/discoverable using UWP API?</p>
  
  <p>If neither is possible how to open Windows 10 settings for current connected adapter directly at the page with discoverability (same page with connection details)? For wired and wireless connections on Windows desktop or mobile.</p>