FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


C++ Remote files





bladesage
I am having trouble reading remote files using C++.

This is a simple question: How do I access files through the http:// protocol?
Indi
bladesage wrote:
I am having trouble reading remote files using C++.

This is a simple question: How do I access files through the http:// protocol?

C++ does not support that in the core language. You need a sockets library.

The answer to your question will depend on what sockets library you use.
bladesage
Indi wrote:
bladesage wrote:
I am having trouble reading remote files using C++.

This is a simple question: How do I access files through the http:// protocol?

C++ does not support that in the core language. You need a sockets library.

The answer to your question will depend on what sockets library you use.


That's just it, I don't know what library to use, how to use it, or where it is Confused
Indi
bladesage wrote:
Indi wrote:
bladesage wrote:
I am having trouble reading remote files using C++.

This is a simple question: How do I access files through the http:// protocol?

C++ does not support that in the core language. You need a sockets library.

The answer to your question will depend on what sockets library you use.


That's just it, I don't know what library to use, how to use it, or where it is Confused

Google is your friend. Search for "c++ http get" and you'll probably get dozens of libraries.
desertwind
libferit is one such library. http://www.westga.edu/~stu7440/projects/ferit.html

There are many others. Google.
hicham_the_webmaster
And before, you must understand the principal of Sockets and its working modes ... You must know that the concept is used in almost all programming language(C/C++, Visual Basic, JAVA ... ), so if you really want to create apps with HTTP support, you must learn how to use sockets !

Idea
Indi
Not necessarily. That's true if you want to write http get code from scratch or using low level socket routines. But if you don't want/need to do either, you can probably find libraries that can do an http get with a single function call - no need to mess around with sockets.
Related topics
Can I unzip Remote Files
Ill deal with your HijackThis logs for you.
PHP reading a line?
[Guide] Les services windows (2000, XP) optimisations.
winsit.exe
100% cpu spikes cause windows xp to freeze
Synchronize remote files with rsync
Slow XP Boot
BG Xmail The World's First 10GB Email Service
Mozilla Firefox
simple webserver on cable line.
Battlefield 2 problem!!!
Windows Tips&tricks!
website program
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.