For the record - it seems that TransmitPackets is a Windows equivalent of
sendmmsg which sends each passed buffer in its own UDP datagram,

I have created a test project to understand better how it works,
https://github.com/lstipakov/TransmitPackets/blob/master/TransmitPackets.cpp ,
will try at some point with OpenVPN.



ke 12. kesäk. 2019 klo 19.43 Lev Stipakov ([email protected]) kirjoitti:

>
> WSASend / WSASendTo methods, which we use to write to link on Windows,
>> already support multiple buffers (but we do not use that feature):
>>
>
> Argh, turns out that WSASend combines multiple buffers (openvpn packets)
> into single UDP packet,
> which doesn't work for openvpn - we expect UDP packet to contain single
> openvpn packet.
>
> --
> -Lev
>


-- 
-Lev
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to