Click here to Skip to main content
15,900,589 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i send multiple files over the network using socket programming?. I can send a single file from client to server synchronously. Do i need to send it asynchronously for multiple files?
Thanks
Posted
Updated 14-Dec-19 9:09am

Vague question.

What you are doing is sending data using sockets. It may be a case of how you encode a file, or multiple files into that data.

If you can send one file, how are you doing it?

And it depends what you mean by asynchronously. If you mean using Begin/EndInvoke type stuff well that's up to you but it's not necessary. If you mean multiplexing on the wire, well only pain and misery lies down that road.
 
Share this answer
 
I did similar to http://socketprogramming.blogspot.de/2007/11/file-transfer-using-c-socket.html.When i tried to send multiple files, all the files could not be sent properly.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900