Windows 10, Unity 5.5.2 - note that this implicitly restricts .Net to version 3.5.
I have a C++ application that I'm trying to connect to a Unity application over the air. I wish to continually send byte arrays from C++ to Unity. The catch is that, for the device (Hololens, in my case) that I wish to deploy to, System.Net.Sockets is not available.
In C++ I instantiate a socket using the Winsock2.h header. I can use UDP or TCP, it doesn't matter to me for my application.
In Unity, I wish to use either Unity.Networking or UWP to establish the connection.
To use UWP, I've only seen examples that use the async keyword, which is a headache to use in Unity (and I'm honestly not sure if it's possible).
Meanwhile, Unity.Networking seems to use its own protocol, and I'm not sure how to interface it with my C++ application.
Can anyone provide a very simple, concise way of accomplishing this task in Unity?
EDIT: Using Threads is difficult on the Hololens as well, async tasks seem to be a difficult proposition as well.