Hey is the boost library a good library to install to learn network programming?

im a beginner at c++ but i know the basics, i would like to send and recieve things, maybe my first program could just fetch a yahoo news headline, is leaning to use boost as simple as installing the library and then following a tutorial just like sdl and lazy foo, or do i want to learn html and even some java first.

my knowledge of how the net works is flawed too, but then i figured learning boost might help

EDIT:examples look hard actually, maybie i dont know enough c++ or general internet
Last edited on
Sure, by the time you have a grasp on it, it will be part of standard C++ (it's their next main focus after the filesystem library)

i would like to send and recieve things, maybe my first program could just fetch a yahoo news headline, is leaning to use boost as simple as installing the library and then following a tutorial

To just send and receive things - yes, but boost.asio is a bit too low level for fetching web content - you will have to learn a bit about the details of HTTP protocol and HTML parsing. There are good higher-level C++ networking libraries: poco and cpp-netlib, for example.. but boost libraries are foundational, I'd learn them first.
ah shows im on the right track then, thats good, i was worried about being so slow to learn that c++ would be obsolete by the time i get somewhere...but i looked at the example code, it may as well have been written in cantonese.

i got to learn the template stuff and all that first.
Topic archived. No new replies allowed.