- // don't reset the event manually for listen sockets to avoid unwanted
- // extra onsessionavailible events
- if (taddrint(findtree(@fdwatches,inttostr(fd))) and FD_ACCEPT) = 0 dowsaasyncselect(socket,0,0); // if not a listen socket reset watches\r
+ // don't reset the event manually for listen sockets to avoid unwanted\r
+ // extra onsessionavailible events\r
+ if (taddrint(findtree(@fdwatches,inttostr(socket))) and FD_ACCEPT) = 0 then dowsaasyncselect(socket,0,0); // if not a listen socket reset watches\r