From f4ce5a285167e7656037096f77f04ab80a010453 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 14 Jan 2017 13:00:55 -0800 Subject: Windows TCP now working. There are lots of changes here, mostly stuff we did in support of Windows TCP. However, there are some bugs that were fixed, and we added some new error codes, and generalized the handling of some failures during accept. Windows IPC (NamedPipes) is still missing. --- src/nng.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/nng.c') diff --git a/src/nng.c b/src/nng.c index d550c974..ec221fb7 100644 --- a/src/nng.c +++ b/src/nng.c @@ -199,6 +199,15 @@ nng_strerror(int num) case NNG_EPERM: return ("Permission denied"); + + case NNG_EMSGSIZE: + return ("Message too large"); + + case NNG_ECONNRESET: + return ("Connection reset"); + + case NNG_ECONNABORTED: + return ("Connection aborted"); } if (num & NNG_ESYSERR) { -- cgit v1.2.3-70-g09d2