summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-04-08 19:20:42 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-04-08 19:20:42 +0200
commit027bb1d2a7c83c7c719f6bdc3100eb639019d2f0 (patch)
treeb7d646265bf02391db69eedeedc7f137d6247515
parent5cd9f74a70e2c8503c29aaca881c193a936b7b44 (diff)
issue 10 - zmq_strerror problem on Windows
-rw-r--r--src/zmq.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zmq.cpp b/src/zmq.cpp
index 3eb1306..1b70f1b 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -77,6 +77,10 @@ const char *zmq_strerror (int errnum_)
return "Address in use";
case EADDRNOTAVAIL:
return "Address not available";
+ case ECONNREFUSED:
+ return "Connection refused";
+ case EINPROGRESS:
+ return "Operation in progress";
#endif
case EMTHREAD:
return "Number of preallocated application threads exceeded";