Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Sockets limits....

www.cryer.info
Managed Newsgroup Archive

Re: Sockets limits....

Subject:Re: Sockets limits....
Posted by:"Martin James" (mjames_falc..@dial.pipex.com)
Date:Wed, 3 May 2006 17:40:11

>
> Hello!
> I have to develop an application to work like a gateway. It has groups (up
to 5000) of 2 server sockets

10000 sockets.  Right.

and everything that I receive in one server I have to write to other in the
same group (replicate data).

So, like a sort of proxy.

>My questions are:
> - What´s the better way to develop it? (application with 10000 (5000
groups of 2 sockets)sockets?,

Overlapped, and maybee IOCP, non-blocking server.  It's the only chance you
have.

5000 services?, application that start 5000 proccesses? threads?)

5000 services/processes/threads is just too much.

> - What´s the resource limits of Windows?

About 24k sockets, at least on W2k Pro.  Server versions may be better.

> - Is it better to develop for Linux (Kylix)?

I doubt it.

Rgds,
Martin

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive