< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate-users] limpc,WSAGetLastError() =1038


int numReady = fdset.selectMilliSeconds(ms);

   ms = resipMin(buildFdSetForObservers(fdset), (unsigned int)ms);

   // Step 2: Select on our built FdSet
   int numReady = fdset.selectMilliSeconds(ms);
   if ( numReady < 0 )
   {
      int err = getErrno();//here is 10038 , An operation was attempted on something that is not a socket.
      if ( err!=EINTR )
      {
         CritLog(<<"select() failed: "<<strerror(err));
         assert(0);     // .kw. not sure correct behavior...
      }
      return false;
   }

I am newer to resiprocate ,want to test limpc.cc, but is 10038 socket error, Help me.