From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20562 invoked by alias); 2 Sep 2009 23:53:59 -0000 Received: (qmail 20554 invoked by uid 22791); 2 Sep 2009 23:53:58 -0000 X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,MIME_QP_LONG_LINE X-Spam-Check-By: sourceware.org Received: from s194.n227.vds2000.com (HELO pioneerwireless.ca) (64.6.227.194) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Sep 2009 23:53:54 +0000 Received: (qmail 13105 invoked by uid 48); 2 Sep 2009 19:53:52 -0400 Received: from 24.139.16.66 ([24.139.16.66]) by webmail.pioneerwireless.ca (Horde MIME library) with HTTP; Wed, 02 Sep 2009 19:53:52 -0400 Message-ID: <20090902195352.b1k55tqsrccggcc8@webmail.pioneerwireless.ca> Date: Wed, 02 Sep 2009 23:53:00 -0000 From: "John E. Bossom" To: pthreads-win32@sourceware.org Subject: RE: strange pthread_create cap References: <4A9E4D93.5050407@endion-software.com> <4A9E80FD.3040409@homemail.com.au> <001c01ca2bfb$147ad3a0$3d707ae0$@kindred@swri.org> In-Reply-To: <001c01ca2bfb$147ad3a0$3d707ae0$@kindred@swri.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-IsSubscribed: yes Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2009/txt/msg00044.txt.bz2 If Laura is running on Windows XP... there is a built in limit on the number of simultaneously openned sockets... This is on purpose... to prevent you from turning Windows XP into a Server... Cheers, John E. Bossom Quoting robert kindred : > Hello, Ross: > > [snip] >> >> Hi Laura, >> > [snip] >> >> Also, are you testing on a Windows Server or Windows Workstation? I ask >> because, IIRC and if my information is not out-of-date, workstations >> have a limit (10) on the number of sockets that can be listening at the >> same time. > > I thought this was true also, but I have had more than 20 connections to = my > Windows service via its listening sockets on my desktop. This limit is > apparently only applied to Windows services (file shares, etc.). My .02, > though I don't think it solves Laura's problem. > >> >> Ross >> >> Laura Arhire wrote: >> > Hello >> > >> > I'm having some trouble with pthreads-win and sockets, wondering if >> > anyone can help. I have a test setup with a loop which iterates a >> > number of times. Inside the loop, I create a thread on which I run an >> > SSL server socket. After the thread is created, I connect an SSL >> > Client socket to the server socket, then disconnect it, disconnect >> the >> > server socket, and issue a pthread_join. > > [snip] > >> > >> > Thank you in advance, >> > Laura > > Robert Kindred > >