/[lcore]/trunk/lcorewsaasyncselect.pas
ViewVC logotype

Diff of /trunk/lcorewsaasyncselect.pas

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5 by beware, Sun Mar 30 00:16:07 2008 UTC revision 6 by plugwash, Sun Mar 30 00:52:52 2008 UTC
# Line 141  Line 141 
141    
142          if readtrigger or writetrigger then lasio.handlefdtrigger(readtrigger,writetrigger);          if readtrigger or writetrigger then lasio.handlefdtrigger(readtrigger,writetrigger);
143        end;        end;
144        dowsaasyncselect(socket,0,0); //reset watches        // don't reset the event manually for listen sockets to avoid unwanted
145          // extra onsessionavailible events
146          if (taddrint(findtree(@fdwatches,inttostr(fd))) and FD_ACCEPT) = 0  dowsaasyncselect(socket,0,0); // if not a listen socket reset watches
147      end;      end;
148    end else if (ahwnd=hwndlcore) and (aumsg=wm_dotasks) then begin    end else if (ahwnd=hwndlcore) and (aumsg=wm_dotasks) then begin
149        //writeln('processing tasks');        //writeln('processing tasks');

Legend:
Removed from v.5  
changed lines
  Added in v.6

No admin address has been configured">No admin address has been configured
ViewVC Help
Powered by ViewVC 1.1.26