Hi Daniel, I've made a small test program to see if errno would reflect the posix value of WSAGetLastError() (I tried it with connect()).
No big surprises here, errno does not work and returns 0. T -----Original Message----- From: curl-library-boun...@cool.haxx.se [mailto:curl-library-boun...@cool.haxx.se] On Behalf Of Daniel Stenberg Sent: 29 April 2010 11:11 PM To: libcurl development Subject: Re: Errno constants conflict on VC10 On Thu, 29 Apr 2010, Tanguy Fautre wrote: > Note 1: I wonder if using errno instead of GetLastError() would work with > the new errno constants on VC10. Can't you make a little test program and check? Or possibly the socket-related functions have this documented... ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html