Avatar of dpalyca755
dpalyca755
 asked on

C++ URL connection example

I need an example of a C++ class that will connect to a URL and read XML line by line.
Please advise.
C++

Avatar of undefined
Last Comment
Deepu Abraham

8/22/2022 - Mon
drichards

Your question is underspecified.

For what platform and dev tools?
What protocol on the URL?
Does it need to be raw socket or can you use a client class from your dev environment?

XML line-by-line does not make sense as you will end up with a bunch of nonsense text that needs to be reassembled into usable XML which means also writing XML parsing code.  Why not use an XML parser?
ASKER CERTIFIED SOLUTION
ambience

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Pramod Bugudai

I have simple exampl over here.

http://support.microsoft.com/kb/815659
Deepu Abraham

Is this on windows/unix ?
Your help has saved me hundreds of hours of internet surfing.
fblack61