More fixups for Windows targets

* Use closeSocket on sockets instead of plain old close, the latter
  doesn't work on them.
* Use winsocket2 everywhere, mingw has no BSD sockets.
7f46672193LemonBoy committed on 10/28/2020, 9:03:23 AMparent1ea0d40
3 files changedLine totals unavailable