Jump to content
  • Advertisement
Sign in to follow this  
Hermes

Sending files

This topic is 4866 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi . Do you know how to send files from a server to its clients ? I have poore knowledge on WinSocket but i really need this for a database project .The ideea is that the application needs to make a backup of the database whenever the client wants to,but the procedure is SQL so it runs on the server so the backup resides on the server side. I thought maybe i could transfer those files. Thanks a lot!

Share this post


Link to post
Share on other sites
Advertisement
Take a look at winsock function: TransmitFile
Seems to perform what you wish to do :)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/winsock_functions.asp

Hope it helps

Regards,
/Omid

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!