Windows Sockets 1.1应用实例(110)

2010-12-30 20:58:11 · 作者: · 浏览: 63030
, IDD_HNAME, "                      ");

   

    time(&now); time(&last_time);

    while (last_time + timeout > now) {

       time(&now);

       tmp = sizeof(local);

       do {

           ;

       } while (ShoutBlockingHook()); /* Dispatch messages while available */

      

       if (run_cancelled) {

           WSASetLastError(WSAEINTR);

           break;     /* Non-blocking mode was cancelled */

       }