Use WSAGetLastError() to determine cause of network errors on Windows.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 24 Oct 2009 22:50:09 +0000 (00:50 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 24 Oct 2009 22:50:09 +0000 (00:50 +0200)
commitc11dc8079b60d9f8c5b1c7e8fecd90d0fac5a20c
treea5df5bd24c6e86fc0315794ca73da136b46163cd
parent1bca167b7e24a9cb00ad6130c24f0bb60e208f1f
Use WSAGetLastError() to determine cause of network errors on Windows.

This reduces log spam and lets path MTU discovery work faster.
src/net_packet.c