Re: Wireless adapter for new computer re TUNTAP
| Newsgroups | gmane.comp.emulators.hercules390.general |
|---|---|
| Message-ID | <[email protected]> |
Le 6/18/2019 à 7:50 AM, Ivan Warren [email protected] [hercules-390] a écrit : > Le 6/18/2019 à 7:03 AM, ''Fish' (David B. Trout)' > [email protected] [hercules-390] a écrit : >> Mike Schwab wrote: >> >> <snip; bunch of URLs> >> >> We know what it is. What we're looking for is some sample code. > Yep, That's the issue... There is little to no documentation about how > to talk to OpenVPN's tun/tap devices (because it was designed to be for > internal's OpenVPN use only) - but there are many project that now use > the driver (so the OpenVPN people tend to have a fixed API for the > tun/tap driver). > On a side note : you can always look at how OpenVPN itself talks to its driver Check https://github.com/OpenVPN/openvpn/blob/master/src/openvpn/tun.c A bunch of #ifdef _WIN32 or equivalent in there.. Maybe you can make something out of it ;) --Ivan [Non-text portions of this message have been removed]