Max Connection on Windows

Please post support and help requests here.
Posts: 1
Joined: 30 May 2013, 07:54

Max Connection on Windows

Postby mirage79 » 30 May 2013, 08:07


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.


Posts: 1268
Joined: 11 Jul 2006, 16:27
Location: Austria

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 for more info.

Return to “Support”

Who is online

Users browsing this forum: No registered users and 3 guests