示例#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
const char *zmq::wsa_error()
{
    return wsa_error_no (WSAGetLastError(), NULL);
}