[Csci551-talk] Re: [Cs551] question-logging
Michael Stephens
mikestephens at gmail.com
Tue Apr 26 22:41:58 PDT 2005
I am sorry, I do not mean to be monopolizing the discussion board, but
now I am really confused.
Affan's message says to log the message when it is actually sent, not
when it is queued.
Xi's email seems to imply that the message should be logged when it is
queued (i.e. when the client "thinks" it is sent).
Which one is it? (Or have I misinterpreted one or both postings?)
Thank you everyone for your continuing help...Michael
Affan's message:
--------------------------------------------------------------------------------
Subject: IMP all studnets please read ! [Csci551-talk] Assumption:
When to start timeout
Sorry for the delayed response but it was a good question and needed
some thought.
The correct approach has got to be to start timer as soon as you buffer
the packet. But the log time should be when it is actually sent. I know
this can create pathological scenarios, but this is most realistic and
we can test your implementation through simpler scenarios :)
Thanks.
Affan
--------------------------------------------------------------------------------
Xi's message:
--------------------------------------------------------------------------------
Subject: [Csci551-talk] Re: [Cs551] question-logging
Again and again, bandwidth limitation is seperate component to simulate
underlying network (Internet) behavior. So the rest of your program
don't know when the packets are received. The conclusion is log a
message as soon as you send it.
-Xi
mishari ibrahim almishari wrote:
> (1) In the logging of the sent messages,,,,do we log them after completely sending them or we log them as soon as we issue the send them( as soon as we put them in the queue), if this is the case them sending 8 segments will have the same time in the log file?
>
> -mish
--------------------------------------------------------------------------------
More information about the Csci551-talk
mailing list