From: Guus Sliepen Date: Wed, 3 Jan 2007 18:18:54 +0000 (+0000) Subject: Use a ringbuffer in shared memory to transfer packets from the tapreader thread to... X-Git-Tag: release-1.0.7~6 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=03f3fc01e8d9402c4a14904fded883ff8cc574f6;hp=03f3fc01e8d9402c4a14904fded883ff8cc574f6;p=tinc Use a ringbuffer in shared memory to transfer packets from the tapreader thread to the main thread. It's a wonder it ever worked before. The socket that is created is not of a datagram type, therefore packet boundaries were not preserved, which becomes a problem as soon as the TAP-Win32 device receives packets in fast succession. ---