Jump to content
  • Advertisement
Sign in to follow this  
Programmer16

Answered before, can't find it (downloading a file)

This topic is 4855 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

I'm positive that I've seen the answer for this before, but I can't seem to find it. I'm making a game, and I'd like the user to be able to connect and download new maps, databases, etc. I don't care what its done it (other than something using C++). Are there tutorials on this specific subject, or should I just look for Winsock and/or DirectPlay tutorials? [Edited by - Programmer16 on August 3, 2005 2:40:37 PM]

Share this post


Link to post
Share on other sites
Advertisement
Probably the easiest method would be just to put your additional content on a normal HTTP server. Either do a virtual directory listing to check for additional content or add a file that you can parse to determine if there is new content to be had.

For HTTP client code you can look at http-get, a simple implementation of a HTTP client (mostly cross platform), or possibly wininet (for windows).

Share this post


Link to post
Share on other sites
Ok, I planned on just hosting it on my website (is that what you mean?). And does wininet come with the Windows Platform SDK?

I'm checking them out right now...

[Edited by - Programmer16 on August 3, 2005 2:45:43 PM]

Share this post


Link to post
Share on other sites
Yea, thats what we do (http-get), and plus, not only can you use it as a update server, you can also use it to distribute your files to your team very quickly. The downside is that anyone can download your files, because IP protecting is pointless even if you block all ip address's except your team-mates; Its because some use AOL or dont have static ips :/ Well, implanting a username/password would be good. Or, just use as an update server and dont distribute project files.

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!