diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-14 13:00:55 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-14 13:00:55 -0800 |
| commit | f4ce5a285167e7656037096f77f04ab80a010453 (patch) | |
| tree | 48a9746e154872e4a01c9dee465aed716af278be /src/nng.c | |
| parent | b639e4d3643b8245b77bc8707a3a864221fad195 (diff) | |
| download | nng-f4ce5a285167e7656037096f77f04ab80a010453.tar.gz nng-f4ce5a285167e7656037096f77f04ab80a010453.tar.bz2 nng-f4ce5a285167e7656037096f77f04ab80a010453.zip | |
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.
Diffstat (limited to 'src/nng.c')
| -rw-r--r-- | src/nng.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) { |
