From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c22949b5ebf3505f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-10 19:05:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc03.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: [OT] Two sockets questions References: X-Newsreader: Tom's custom newsreader Message-ID: <%diva.561800$Zo.121552@sccrnsc03> NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc03 1052618747 12.234.13.56 (Sun, 11 May 2003 02:05:47 GMT) NNTP-Posting-Date: Sun, 11 May 2003 02:05:47 GMT Organization: AT&T Broadband Date: Sun, 11 May 2003 02:05:47 GMT Xref: archiver1.google.com comp.lang.ada:37168 Date: 2003-05-11T02:05:47+00:00 List-Id: >I'm a bit afraid of using so many (say two thousands) tasks (are they >really that light? What computer is necessary for that number? I have a Out of curiosity, I just successfully ran an, admittedly trivial, program with 2,000 simultaneous tasks. IIRC BTW, Windows sockets are polled, not interrupting. Non-blocking sockets send messages to the desired window, and you watch for them by polling PeekMessage.