Hi,
As a TCP-based protocol, I'd expect it to jump out of the procedure
as soon as the final write(2), which tranferred the data to the local
kernel's socket buffer, is done.
If you measured extensive delays then I might suspect that this could be
due to buffering constraines on the socket (e.g. a small buffer which might
force the server-side TCP stack to wait for the client to ack the data
before
it finishes sending the rest).
In short - I'd vote for (a).
Cheers,
--Amos
> -----Original Message-----
> From: Jan Andresen [elkware] [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 27, 2000 12:36 AM
> To: [EMAIL PROTECTED]
> Subject: output streams/write
>
>
> Hija!
>
> I'm wondering, when the ServletEngine jumps into the doGet()
> void. When
> does it acutally leave the prozedure?
>
> a) When everything is sent to the writer (response.getWriter() or
> response.getOutputStream())
>
> b) When everything sent and was recieved by the user.
>
> ???
> I think it's b) because otherwise I couldn't explain the time it takes
> for a request to be totaly procesed (measuring at beginning and end of
> doGet() ).
> What do you think? I'm greatfull for any help..
>
> thnx&c.ya Jan
>
> --
> Jan Andresen :: New Media Engineer :: http://www.elkware.com
> Phone: ++49 (0) 4103 - 12 45 40
>
> ______________________________________________________________
> _____________
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html