UWP StreamSocket ConnectAsync 'Invalid combination of workqueue ID'

0

I'm running into this unexpected error and unfortunately have not found anything on this around that solves or identifies this issue. Does anyone know anything about this?

The error returned is

"System.Exception: The operation failed because an invalid combination of workqueue ID and flags was specified. (Excep_FromHResult 0xC00D36FF)"

Code follows this template:

  using (socket = new StreamSocket())
  {
    var hostName = new HostName(server);
    socket.Control.NoDelay = false;

    try
    {
        await _socket.ConnectAsync(hostName, port, SocketProtectionLevel.PlainSocket);              
    }
    catch (Exception ex)
    {
        // Handle Exception
    }
  }
c#
sockets
uwp
asked on Stack Overflow Nov 1, 2018 by user9012040 • edited Nov 1, 2018 by Alon

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0