[freetds] infinite loop in dbcancel
Sergio NNX
sfhacker at hotmail.com
Thu Mar 17 18:41:06 EDT 2016
> You can. However I think on Windows you have to call a function to set the
> error and I don't know which constant would be better. On Windows these
> kind of error (socket ones) have no relation with c errno
I don't know whether or not it is a good practice, but you could set errno to the value of WSAGetLastError() and then use gai_strerror() or FormatMessage() or whatever you prefer.
More information about the FreeTDS
mailing list