> i have created a tcp server using Twsocket but after 40 clients connected
> the server stopped from listing

There is nothing in ICS which limits the numbers of simultaneous client.
Only machine and operating system resources are limiting.

To handle a few thousands simultaneous connections, it is likely that you
need a Windows SERVER operating system, not a Windows workstation.

The most limiting factor in the number of socket you may open is the memory.
Each socket needs memory in non-paged memory and the amount of non-paged
memory is directly linked to the total amount of memory the system has.

Of course, your application may be limited by other limits on systems
resources. Beware of what you do for each connection. For example, you may
quickly exhaust the number of available handles if you don't program

As Angus said, you sould test for errors everywhere and get error code using
GetLastError to know which limit you exhausted?

The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)

To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to