1. MrGregorjo's Avatar
    I'm using sockets in my application.
    And I just noticed that background sockets don't work any more on Windows 10 (desktop devices).

    Does anybody else experience same issue?

    I tested on mobile phones and emulators and It works as expected but on desktop I receive some gibberish data.
    07-08-2016 09:53 AM
  2. MrGregorjo's Avatar
    Found the solution
    instead of using
    await socket.ConnectAsync(new Windows.Networking.HostName(uri.Host), uri.Port.ToString(), SocketProtectionLevel.Tls12);
    await socket.ConnectAsync(new Windows.Networking.HostName(uri.Host), uri.Port.ToString(), SocketProtectionLevel.PlainSocket);
    await streamSocket.UpgradeToSslAsync(Windows.Networking.Sockets.SocketProtectionLevel.Tls12, hostName);
    Chintan Gohel and daimv like this.
    07-18-2016 03:04 PM

Similar Threads

  1. How to change the background on your lock screen on Windows 10
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 06-22-2016, 07:11 AM
  2. How do I change the background color in Contact records?
    By Windows Central Question in forum Microsoft Lumia 950
    Replies: 3
    Last Post: 06-20-2016, 07:43 AM
  3. Start screen backgrounds
    By kaktus1389 in forum Windows 10 Mobile
    Replies: 1
    Last Post: 06-19-2016, 01:10 PM
  4. Replies: 1
    Last Post: 06-09-2016, 01:02 AM
  5. Replies: 2
    Last Post: 06-06-2016, 02:44 AM