Topic: Windows Iot Raspberry Pi
I am attempting to implement WolfSsl into Windows IOT on the Raspberry Pi.
I have had success in in compiling and deploying wolfssl.dll on the pi.
I am using the CSharp wrapper and am having success with with a lot of the functions.
I am using the wolfssl-tls-server as the example of code to implement.
My problem arises with the fact that microsoft does not implement the System.Net.Sockets.TcpListener.AcceptSockets
So this code fails.
fd = tcp.AcceptSocket();
I can accept connections using StreamSocketListener() however this does not expose the socket
and so this API is not possible, AFAIK.
if (wolfssl.set_fd(ssl, fd) != wolfssl.SUCCESS)
I know I am missing something trivial but so far have not managed to work it out.
Any help would be appreciated. Thanks in advance.
Happy New Year