Flush output buffer in send_tcppacket().
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 17 Jul 2011 17:34:01 +0000 (19:34 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 17 Jul 2011 17:34:01 +0000 (19:34 +0200)
This is mainly important for Windows, where the select() call in the
main thread is not being woken up when the tapreader thread calls
route(), causing a delay of up to 1 second before the output buffer is
flushed. This would cause bad performance when UDP communication is not
possible.


No differences found