Jump to content
  • Advertisement

Archived

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

sporty

Communication between my program and a server. Help!

This topic is 6189 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 am trying to write a program that will basically let people upload and manage their documents/text files on a "server" (or other form of online medium) through use of the program. Basically, I am going to try and implement an account feature, you create a screenname, and are then permitted to upload any text documents (or any other file of that nature..no executables, for instance) to a central area. Then other users can browse around the directory and view what you''ve uploaded, etc. You could think of it as a BBS through use of a program, I guess. My problem is, I really know nothing when it comes to online communication/sockets/what have you. What would you guys suggest I go about approaching this idea? Where can I read up on things pertaining to what i want to do (nothing too complex or broad..I''m looking more for specifics). Also, what do you think would be the best way to store the files the people upload? I was thinking of maybe implementing some sort of script on a webpage to manage it all, but thus, I have no idea how to. Anyway, you guys have any pointers for me? Btw, I will be programming this in either MFC or Visual Basic (whichever..I''m equally fluent in both).

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
MFC is a programming language ??


You are trying to write your own ftp software ....
The only difference between your idea and a ftp server are the file type restrictions.

Share this post


Link to post
Share on other sites
If you''re using MFC I think the class you''d use is CAsnycSocket, or something close to that... Not sure about VB, but apparently winsock is easier to use in that.

I''ve been looking at doing something in winsock for a while, but haven''t done much more than a simple class, you should be able to find it off my site at http://bit.sit.ac.nz/torvalds/andrew/framemain.htm

Looking up the class I gave you at the start should lead you to everything else on MSDN eventually, you might find http://www.sockets.com to be worth taking a look at, although I''m not sure if they provide MFC stuff...

If ya need anymore help, send an email or ICQ message my way as I don''t browse these forums more than a look at the latest posts...

Faradhi Sobriet-Treves
Press to test... *click* Release to detonate...

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!