VpnPlugin and StreamWebSocket support
When StreamWebSocket will be supported in VpnPlugin?
I am trying to implement VPN Plugin with websocket transport.
But when I call
channel.AssociateTransport(tunnel, nullptr) with StreamWebSocket tunnel
in my method
void VpnPlugin::Connect(VpnChannel const& channel)
I get only error 80070057.
I have looked into binary and have seen only IDatagramSocket and IStreamSocket GUIDs in internal method SetBestCostInterfaceOnTransport.
But how can I use StreamWebSocket socket, as documentation promises:
An IInspectable object for socket transport. This object can be a Windows.Networking.StreamSocket, a Windows.Networking.StreamWebSocket, or a Windows.Networking.DatagramSocket. This socket will control the connection to the VPN server and will be used to send encapsulated IP packets and receive encapsulated data. The socket must be unconnected at the point of the call.
I have tested on 1903 and latest 20h1 versions
and built with 1903 (10.0.17763.0 ) SDK