Re: SO_SNDLOWAT not avalaible; how can i avoid non-blocking sockets

From: Rick Jones (foo_at_bar.baz.invalid)
Date: 11/29/04


Date: Mon, 29 Nov 2004 18:47:33 GMT

Przemys?aw R??ycki <przemas_r@o2.pl> wrote:
> Thanks a lot for your answer. You presented handful useful
> solutions. I have chosen even the other one. Now all connections
> are in blocking mode, but each of connections has a thread dedicated
> to it. I hope this will work as expected.

There was a reason I didn't mention threads :) Threads can be quite
convenient, heck, sometimes even useful :) However, "connection per
thread" isn't exactly the most "scalable" of solutions out there. I
personally do not see it as being all that much better than
"connection per process." Just keep that in mind if you decide to
scale your application out to more than a "few" (for some, rather
fluid definition of "few" ) connections.

rick jones

-- 
Process shall set you free from the need for rational thought. 
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to raj in cup.hp.com  but NOT BOTH...


Relevant Pages

  • Re: help- CDE H3 rotor + controller
    ... The position indicator doesn't move with rotation, ... the indicator needle is almost full scale and can be moved ... The function of the 8 connections would help. ... I cut that wire and made the connection to the proper wire. ...
    (rec.radio.amateur.antenna)
  • Re: Why programs cant be assembled like Legos
    ... components like Legos is reinvented every generation. ... Such small scale building blocks are ... quite standard and have only a few and basic connections. ... If this overhead ...
    (comp.programming)
  • Re: Why programs cant be assembled like Legos
    ... Such small scale building blocks are ... quite standard and have only a few and basic connections. ... If this overhead ...
    (comp.programming)
  • Re: Why programs cant be assembled like Legos
    ... components like Legos is reinvented every generation. ... Such small scale building blocks are ... quite standard and have only a few and basic connections. ... If this overhead ...
    (comp.programming)
  • Re: Close a blocked socket
    ... Peter, thanks for the link, quite valuable. ... I handle connections pretty ... only on much smaller scale (and budget ). ...
    (microsoft.public.dotnet.languages.csharp)