Hi,

I've experienced an 10053 Socket Error while sending back FETCH Answers to the Client.
While running through the process the server could send 5 Lines. While debugging only 2 lines
before the Error occured.


Is there an Time Out I have to send the whole Answer to the client before it closes the connection?

1. What I do now:
     Parse the Client Command
     Get First Data => send to client
     Get next Data => send to client
     ....
    till I have send  the whole answer.

2.  What I did before:
     Parse the Client Command
     Get all needed Data
     Send all to the Client

I first did 2. but I changed to 1. because I thought it would be better so send Data to the Client as soon as I have it.
Using the first method takes longer from sending the first line of the answer to the last line because the between sending the Lines
I have to get the Data. Using the second method means I start sending when all Data is ready to be sent and therefore the whole
sending process doesn't take as long.


What is better now?  How do you send your Data?

--
regards

Antonio Cambule
ST�BER SOFTWARE
www.stueber.de


--
-----------------------------------------------------------------
For information about this mailing list, and its archives, see: http://www.washington.edu/imap/imap-list.html
-----------------------------------------------------------------




Reply via email to