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
}
}
User contributions licensed under CC BY-SA 3.0