VPNInterface object holds information about each
Interface (or network adapter) found on your computer that is capable of
being used by wodVPN. In order to use any of those adapters you should
set it's IP address and Netmask, and put local peer and remote peer to
same network. For example, you can set local side to 192.168.1.1
(netmask 255.255.255.0) and remote peer's IP address to 192.168.1.2
(netmask 255.255.255.0). If you use wrong IP/Netmask combination, it is
possible that Windows sockets will not route packets correctly to remote
side.
wodVPN collects all raw packets from VPN adapter and routes it to
remote side. Remote side then unpacks it and "pushes" to adapter so it
becomes available to Windows sockets. Windows do not see a difference
between real network adapters which are connected through cable, and our
virtual network adapters which are connected through wodVPN.
Currently wodVPN supports included 'WeOnlyDo Network Adapter', but it
can also use Wippien's adapter, and
OpenVPN's adapter. Only one process at
a time can use one adapter, but multiple instances of wodVPN in same
process (inside your application) can all share same adapter.