Brett McCoy wrote:
> On Fri, May 16, 2008 at 8:05 AM, Sandeep Setty <[EMAIL PROTECTED]>
> wrote:
> 
>> <http://in.promos.yahoo.com/groups/--0-1442976497-1210939507=:92719Content-Type>
>> <html><head><style type=3D"text/css"><!-- DIV {margin:0px;}
>> --></style></he=
>> ad><body><div style=3D"font-family:times new roman, new york, times,
>> serif;=
>> font-size:12pt"><DIV>All,<BR>       &nbs=
>> p;  I know the my query is not related to this forum, but i think the =
>> expertise in this group can help me. Please let me know how a web server
>> ma=
>> nages Request and Reply? How the Web servers maintain the Request queue?
>> Ho=
>> w would the Web servers make sure reply are sent to intendended or
>> appropri=
>> ate requests? Any pointers in this regard is really helpful. <BR><BR> =
>>   <BR>Regards,<BR><FONT color=3D#888888>Sandeep</FONT></DIV></div><br>=
>> =0A=0A=0A      <!--5--><hr size=3D1></hr> Has your work life balance
>> shifte=
>> d? <a href=3D"
>> http://in.rd.yahoo.com/tagline_glue_5/*http://in.search.yahoo=
>>
>> ..com/search?&fr=3Dna_onnetwork_mail_taglines&ei=3DUTF-8&rd=3Dr1&p=3Dwork+li=
>> fe+balance">Find out.</a></body></html>
>> --0-1442976497-1210939507=:92719--
> 
> 
> Completely off-topic... plus you posted a message with ill-formed HTML and
> it is almost completely unreadable. Please post questions in text only, no
> HTML!
> 
> I suggest you you go to the Apache website and start studying the code and
> asking questions on the Apache mailing lists.
> 
> -- Brett
> ------------------------------------------------------------
> "In the rhythm of music a secret is hidden;
> If I were to divulge it, it would overturn the world."
> -- Jelaleddin Rumi

To bring it somewhat on-topic, you can maintain the information (socket 
connection, data received, response buffer, etc.) inside a struct or 
class.  This keeps the data for a single client in a nice, neat, 
self-contained package.  Then, you can string together multiple packages 
with a linked list or array or some structure.  Or, for a really basic 
server, just use a new thread for every connection (very 
performance-unfriendly though).

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to