how to wait for the winsock control to finish sending data? 
Author Message
 how to wait for the winsock control to finish sending data?

Hi!,
from various postings on this group, I am trying to write a wisock app
which sends a file to a winsock server app.
I can not close the connection because on the server end, I do not
receive the exact size of the file sent.
My question is: how to wait for the winsock control to finish sending data?
Thanks in advance.
- Milind Joshi


Fri, 31 Dec 2004 23:58:02 GMT  
 how to wait for the winsock control to finish sending data?
You will need to close the connection at the server once you're done sending. Then, in the Close event of the client, you will know data send is complete.

Max Bolingbroke



Sun, 02 Jan 2005 00:31:28 GMT  
 how to wait for the winsock control to finish sending data?
Thanks for reply Max,
my problem is, somehow, I am not able to cleanly close the connection
from the sender app to the receiver app. Manytimes this results in
incomplete transfer of data.
Appreciate any ideas. Thanks once again.
- Milind
Quote:

> You will need to close the connection at the server once you're done sending. Then, in the Close event of the client, you will know data send is complete.

> Max Bolingbroke



Tue, 04 Jan 2005 00:53:22 GMT  
 how to wait for the winsock control to finish sending data?
Why aren't you receiving the exact size of the file?


Quote:
> Hi!,
> from various postings on this group, I am trying to write a wisock app
> which sends a file to a winsock server app.
> I can not close the connection because on the server end, I do not
> receive the exact size of the file sent.
> My question is: how to wait for the winsock control to finish sending
data?
> Thanks in advance.
> - Milind Joshi



Mon, 10 Jan 2005 12:50:45 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Winsock Control sending data to Last control in array

2. winsock data arrival does not wait for data

3. Winsock Control sending binary data

4. sending data via winsock control

5. Cannot send/receive binary data using Winsock Control...

6. Sending data both ways with MS Winsock control

7. Sending numeric data over Winsock control?

8. Winsock control Send Data problems..

9. Winsock Control..... (Sending Data)

10. Sending binary data with Winsock Control

11. Sending numeric data over Winsock control?

12. Sending binary data via winsock control in VB5

 

 
Powered by phpBB® Forum Software