Re: MsgCommunicator v.2.00: Instant Messenger SDK, now with databases support



Just for interest I googled and found the next answer:
http://www.mabry.com/faq/socketx0000.htm

How many sockets can I have open at the same time?
The maximum number of simultaneous open sockets will depend upon the TCP/IP
stack and the available resources on the machine. There is not way to change
this since each socket requires memory and resources, but you should be able
to open a few hundred sockets. When you hit the resources limit you will
probably get a WSAETOOMANYREFS or WSAENOBUFS Winsock error.

PS: also just for interest - as I understand, the web-server (created with
your components) will not work if 64K users will login, isn't?
Also if you use the own cache and store the session id some time (30
minutes, for example), then your web-server can't process the request from
64K users per this time (30 min in my sample). Or I missed something?

--
With best regards, Mike Shkolnik
E-mail: mshkolnik@xxxxxxxxxxxxx
WEB: http://www.scalabium.com

"Danijel Tkalcec [RTC]" <dtkalcec@xxxxxxxxxxx> wrote in message
news:439f2351@xxxxxxxxxxxxxxxxxxxxxxxxx
> Here's an informative FAQ about WinSock:
> http://www.tangentsoft.net/wskfaq/
>
> If not going through all the articles, at least check the:
> "4.8 - How many simultaneous sockets can I have open with Winsock?"
> http://www.tangentsoft.net/wskfaq/advanced.html#maxsockets
>
> --
> Danijel Tkalcec
> http://www.deltasoft.hr/rtc/author.htm
>
> RealThinClient components
> -------------------------------------------
> * The Easiest way to build Internet-enabled applications
> - Clients, Stand-alone Servers, ISAPI extensions -
> > Write and Call Remote Functions
> > Download and Upload Files
> > Single- and Multi-Threaded mode
> > Firewall friendly - all over HTTP
> > Stress-tested for highest stability
>
> http://www.deltasoft.hr/rtc
> http://www.deltasoft.hr/rtc/forum
>
>


.



Relevant Pages

  • Re: [RFC][PATCH 04/20] pspace: Allow multiple instaces of the process id namespace
    ... virtualization issues, but which are not addressed by Eric anyhow? ... Unix sockets? ... in the same way as for resources or filesystems - ... parent doesn't see child objects itself, i.e. it is unable to share ...
    (Linux-Kernel)
  • Re: Getting STDOUT from daemon a to a socket on daemon b
    ... programs that will consume the least resources? ... Netcat does not support PF_UNIX sockets (socat would be a ...
    (comp.os.linux.development.system)
  • Re: services
    ... I just wanted to add that if you are using any resources like files, sockets or database connections you'll want to make sure you close them explicitly instead of waiting for the GC to take care of it. ... should there be some doevents() so the garbage collector ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: w3wp memory over 1G causing exception
    ... (connections, file handles, sockets, etc) ... debug GC to see how it dispose resources. ...
    (microsoft.public.dotnet.framework.aspnet)