Re: infinite loop in dbcancel
Sergio NNX <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
> 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.