Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am creating a project.I want to send file from server to multiple connected clients.
All i want is, I select the file and than send it from server, all connected clients receives that file.I am not pro at programming. Any assistance will be great help.

What I have tried:

Single server and client file sharing.
Posted
Updated 16-Aug-18 9:45am

1 solution

This is going to be a very difficult project is you're not "a pro at programming".

Sockets are not easy to deal with in a situation where you have to guarantee accuracy in the data being sent, like files.

Multiple clients receiving a file at the same time is rather complex and complicated by the situation where one or more clients might not receive a packet of the file and wants a re-send of the bad packet, or you may want to resend the entire file.

A better solution would be to send a notification to the clients to tell them all to pick up the file from whatever server may be hosting the file. Each client can then deal with the server and retransmissions themselves.
 
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