From 027bb1d2a7c83c7c719f6bdc3100eb639019d2f0 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 8 Apr 2010 19:20:42 +0200 Subject: issue 10 - zmq_strerror problem on Windows --- src/zmq.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/zmq.cpp') 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"; -- cgit v1.2.3