Sign in to follow this  
Programmer16

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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this