This is the mail archive of the
mailing list for the pthreas-win32 project.
RE: strange pthread_create cap
- From: "robert kindred" <robert dot kindred at swri dot org>
- To: "'Ross Johnson'" <Ross dot Johnson at homemail dot com dot au>, "'Laura Arhire'" <laura dot arhire at endion-software dot com>
- Cc: <pthreads-win32 at sourceware dot org>
- Date: Wed, 2 Sep 2009 13:27:50 -0500
- Subject: RE: strange pthread_create cap
- References: <4A9E4D93.email@example.com> <4A9E80FD.firstname.lastname@example.org>
> Hi Laura,
> 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.
> 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
> > server socket, and issue a pthread_join.
> > Thank you in advance,
> > Laura