convert more socket errors to specific ISC error codes, notably ECONNRESET

This commit is contained in:
Andreas Gustafsson
2001-06-15 22:07:51 +00:00
parent 2196128fc2
commit 19872fdfb7
3 changed files with 53 additions and 6 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: result.h,v 1.56 2001/02/12 20:03:16 bwelling Exp $ */
/* $Id: result.h,v 1.57 2001/06/15 22:07:51 gson Exp $ */
#ifndef ISC_RESULT_H
#define ISC_RESULT_H 1
@@ -77,10 +77,12 @@
#define ISC_R_NOTBLOCKING 51 /* not blocking */
#define ISC_R_UNBALANCEDQUOTES 52 /* unbalanced quotes */
#define ISC_R_INPROGRESS 53 /* operation in progress */
#define ISC_R_CONNECTIONRESET 54 /* connection reset */
/*
* Not a result code: the number of results.
*/
#define ISC_R_NRESULTS 54
#define ISC_R_NRESULTS 55
ISC_LANG_BEGINDECLS