Re: Wireless adapter for new computer re TUNTAP

"Joe Monk [email protected] [hercules-390]" <[email protected]>
Newsgroups gmane.comp.emulators.hercules390.general
Message-ID <CAPcd4G_rKNLkVuxdANGjF74Nju352GtYWY6tZOpUViksaf8jvA@mail.gmail.com>
it would probably be better to look here:

https://github.com/OpenVPN/tap-windows6

And if youre looking for sample source code ...

https://github.com/nmap/npcap/tree/master/Examples

For instance ...


/* * This simple program implements a user-level bridge.
* It opens two adapters specified by the user and starts two threads.
* The first thread receives packets from adapter 1 and sends them down to
* adapter 2. The second thread does the same, but in the opposite
* direction.
*/

https://github.com/nmap/npcap/blob/master/Examples/UserLevelBridge/UserBridge.c

Joe

On Tue, Jun 18, 2019 at 1:59 AM Ivan Warren [email protected]
[hercules-390] <[email protected]> wrote:

>
>
>
> 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]
>
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.