Archived

This topic is now archived and is closed to further replies.

En3my

Winsock: Download from website?

Recommended Posts

Read a post in the game programming forum saying something like this; "I wrote a game, and I want it to connect to my webpage for level-data downloading. How do I do that?" I thought it was an interesting question, so I thought someone here in this forum could probably give me a good answer. Either using Winsock or DirectPlay. Thanks! Edited by - en3my on October 21, 2001 4:38:42 PM

Share this post


Link to post
Share on other sites
it''s more of a general question, sorry for being unspecific but i only have basic winsock and directplay knowledge but i am always thirsty for more... maybe i should ask where i can find information about it instead...

Share this post


Link to post
Share on other sites
Well, assuming it''s just a normal file stored on a normal website ... you''ll want to use WinSock to open up a connection on port 80, issue the appropriate HTTP GET request, and recv() the file.

Share this post


Link to post
Share on other sites