c# - Is there any way to support secured connections by using "SocketActivityTriger"? -


while developing uwp application have strange issue establishing ssl/tls connection.

i use streamsocket establish ssl/tls connection , work fine.

socket.enabletransferownership(taskid,socketactivityconnectedstandbyaction.wake); await socket.connectasync(hostname, port, socketprotectionlevel.tls12); 

after transfer socket ownership "socketactivitytrigger," found data recieve socketactivity wrong.

await socket.cancelioasync(); socket.transferownership(socketid); 

but if use plain socket establish connection, thing work fine.

is known problem? because can't find solution in develop guidelines. or i'm doing wrong?


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -