const char *zmq::wsa_error() { int no = WSAGetLastError (); // TODO: This is not a generic way to handle this... if (no == WSAEWOULDBLOCK) return NULL; return wsa_error_no (no); }
const char *zmq::wsa_error() { return wsa_error_no (WSAGetLastError(), NULL); }