Commit de069b99774221193530f9eaa43ebfa417be941f

Nick Mathewson 2008-09-05T16:29:56

On win32, errno is not the last socket error. Worse, WSAGetLastError() is not the last socket error sometimes (i.e., EWOULDBLOCK). Also, strerror() does not handle winsock errors. Therefore, event_err() and event_warn() are completely wrong for windows socket errors. Fix that. svn:r936