예제 #1
0
파일: err.cpp 프로젝트: AimuTran/avbot
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);
}
예제 #2
0
파일: err.cpp 프로젝트: mattconnolly/libzmq
const char *zmq::wsa_error()
{
    return wsa_error_no (WSAGetLastError(), NULL);
}