Get URL Content In A windows service

M

Mohannad

Hi All..

I need to Get URL Content from web then Parse it to be stored in a
local database through C++ Windows service.

the question is how to get URL Content from the web? and how I could
know if I download all page contents to start parsing?

plz answer me if u know the solution..

Thanx
 
J

Jesper Madsen

Mohannad said:
Hi All..

I need to Get URL Content from web then Parse it to be stored in a
local database through C++ Windows service.

the question is how to get URL Content from the web? and how I could
know if I download all page contents to start parsing?

plz answer me if u know the solution..

Thanx

This is platform specific, but maybe libwww has some platform wrappers.
http://www.w3.org/Library/

Jesper Madsen
 
Y

Yuriy Solodkyy

Check WinInet and WinHTTP APIs provided by Microsoft. I don't remember
exactly which, but one of them can not be used from under services,
while the other was exactly created to be used from within the services.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winhttp/http/winhttp_start_page.asp

Check also this article on its usage:
http://www.codeproject.com/internet/webcrawler.asp

Dundas Ultimate TCP/IP Library as far as I remember has something for
HTTP too, but that's not for free I think.

Yuriy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,662
Latest member
sxarexu

Latest Threads

Top