Overview
Features
Download
Documentation
Community
Add-Ons & Services

Max Connection on Windows

Please post support and help requests here.

Max Connection on Windows

Postby mirage79 » 30 May 2013, 08:07

Hi,

I made ​​a server application using POCO C++ library.

The application was based on the echoserver sample of the poco library.

The application is deployed as a windows app.

I using Windows 7 Pro(x64) or Windows server 2012 standard edition.

However, only a maximum of 64 servers are accepting connections.(Windows 7 and Windows server 2012 both)

Please advise.

Thanks
mirage79
 
Posts: 1
Joined: 30 May 2013, 07:54

Re: Max Connection on Windows

Postby guenter » 30 May 2013, 10:04

The problem is that on Windows, FD_SETSIZE is defined to 64, which means you cannot have more than 64 sockets in a select. Solution is to redefine FD_SETSIZE to some bigger value. See http://support.microsoft.com/kb/111855 for more info.
guenter
 
Posts: 1110
Joined: 11 Jul 2006, 16:27
Location: Austria


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest