sb-bsd-sockets: Fix error code handling on Windows
authorAnton Kovalenko <anton@sw4me.com>
Wed, 18 Aug 2010 21:40:26 +0000 (01:40 +0400)
committerDavid Lichteblau <david@lichteblau.com>
Wed, 10 Aug 2011 18:05:12 +0000 (20:05 +0200)
commit7254da92a1ba1bf8bc5a2e78a29d993f272d526e
tree82a52794c5be8e22063a5c53a0538dbfe277d38f
parentcb00528cc3c9d6ddeba987ef15818c53109b7835
sb-bsd-sockets: Fix error code handling on Windows

  Factored out into a new function for the win32-specific
  WSAGetLastError call.

  Run-time results now match the existing constant definitions.

Thanks to Anton Kovalenko.
contrib/sb-bsd-sockets/sockets.lisp