> Do any of you know where to find some good documentation on the TAP/TUN API (for Linux and Windows)? Or was the coLinux TAP code written by following examples?
coLinux used only the windows side of TAP32. View into source
The Linux API is more differend. Think, in OpenVPN you will a better
API, because they handle Linux and Windows in one source.