comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: copy constructor for sockets
Date: Tue, 25 May 2004 06:37:13 GMT
Date: 2004-05-25T06:37:13+00:00	[thread overview]
Message-ID: <tQBsc.112585$iF6.10369016@attbi_s02> (raw)
In-Reply-To: x7vbrkdgkif.fsf@smaug.pushface.org

>>   One more thing: if the server does the Get_Line, that suggests
>> there's only one Get_Line per accept(), ie, no persistent
>> connections.
>
>I don't see that, so long as the server hands on the connected socket?
  When a Get_Handler task is done with the Get, does it do a Get_Line
to see if the socket is persistent, and if so, what is the next request?
  If the server does the Get_Line that determines whether the next request
is a Get or a Post, how does it handle the next request on a persistent
connection?  The server must be coded to wait, not simply for an accept()
to unblock, but for either an accept() unblock OR a worker task finishing
and handing back the (still potentially live) socket.



  reply	other threads:[~2004-05-25  6:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-22 21:18 copy constructor for sockets Andrew Carroll
2004-05-22 21:46 ` tmoran
2004-05-23 11:21   ` Simon Wright
2004-05-24 18:26     ` tmoran
2004-05-25  5:10       ` Simon Wright
2004-05-25  6:37         ` tmoran [this message]
2004-05-23  9:43 ` Mark Lorenzen
2004-05-23 11:27 ` Simon Wright
  -- strict thread matches above, loose matches on Subject: below --
2004-05-24 11:28 Andrew Carroll
2004-05-25  5:29 ` Simon Wright
2004-05-22 10:19 Andrew Carroll
2004-05-22 11:55 ` Simon Wright
2004-05-22 18:39   ` tmoran
2004-05-23 21:04   ` Matthew Heaney
2004-05-24  7:13     ` Marius Amado Alves
2004-05-24  3:23       ` Matthew Heaney
2004-05-24  4:53         ` Simon Wright
2004-05-24  5:20           ` tmoran
2004-05-25  4:53             ` Simon Wright
2004-05-24 12:36           ` Matthew Heaney
2004-05-25 21:50           ` Robert I. Eachus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox