[Openvpn-devel] help on win32 tap interface

2005-03-08 Thread and...@libero.it
Hi to all, i can't understand why my code (based on openvpn's tun.c file) to correctly read and write on win32 tap device doesn't work, All i do is: 1 -- call get_tap_reg and get_panel_reg functions 2 -- call get_unspecified_device_guid function to obtain TAP id 3 -- call CreateFile on the devic

[Openvpn-devel] anyone knows the win32 TAP interfce ?

2005-03-08 Thread and...@libero.it
Hi to all, i can't understand why my code (based on openvpn's tun.c file) to correctly read and write on win32 tap device doesn't work, All i do is: 1 -- call get_tap_reg and get_panel_reg functions 2 -- call get_unspecified_device_guid function to obtain TAP id 3 -- call CreateFile on the

[Openvpn-devel] Problem with TAP under Win32: how read correcty

2005-03-03 Thread and...@libero.it
Hi guy, i ve am writing a Win32 app that makes use of TAP drivers bundled with OpenVPN. I ve looked at tun.c to understand how control and mange the virtual interface, but i ve a big problem: i can open the device, read driver verion, mtu etcc... but when i try to read the data submitted by the os

[Openvpn-devel] Question about TAP win32 programming

2005-02-22 Thread and...@libero.it
Hi to all, i am disperately in need of some advices about a subject not strictly about OpenVPN, but maybe there is someone here who can help me.. I ve developed a tunnel-broker apps for Linux using TUN/TAP support, based on TUN virtual interfce like OpenVPN. In Linux, create (and open) a TUN devic