From 328ccfef4daefb1450660846b7e9fa1d1b3fe207 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 27 Jul 2020 19:56:12 -0700 Subject: fixes #1242 EADDRINUSE is not reported on Win32 --- src/platform/windows/win_debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/windows/win_debug.c b/src/platform/windows/win_debug.c index a37411cf..3b3c4ab7 100644 --- a/src/platform/windows/win_debug.c +++ b/src/platform/windows/win_debug.c @@ -1,5 +1,5 @@ // -// Copyright 2019 Staysail Systems, Inc. +// Copyright 2020 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // // This software is supplied under the terms of the MIT License, a @@ -108,6 +108,7 @@ static struct { { ERROR_OUT_OF_STRUCTURES, NNG_ENOMEM }, { ERROR_INVALID_PARAMETER, NNG_EINVAL }, { ERROR_CONNECTION_REFUSED, NNG_ECONNREFUSED }, + { ERROR_DUP_NAME, NNG_EADDRINUSE }, { ERROR_BROKEN_PIPE, NNG_ECLOSED }, { ERROR_BAD_PIPE, NNG_ECLOSED }, { ERROR_NO_DATA, NNG_ECLOSED }, -- cgit v1.2.3-70-g09d2