Boost.asio

Hi,
can anybody tell me how should i sent this kind of GET request to the yahoo server
using boost.asio.
My uri is : http://in.finance.yahoo.com/d/quotes.csv?s=AXISBANK.BO&f=snl1d1c1hgdr
i have seen a example in the boost.asio that looks like
1
2
3
4
5
6
7

    std::ostream request_stream(&request_);
    request_stream << "GET " << path << " HTTP/1.0\r\n";
    request_stream << "Host: " << server << "\r\n";
    request_stream << "Accept: */*\r\n";
    request_stream << "Connection: close\r\n\r\n";

But i have no idea how should i sent my request to the yahoo server.
please help me.


with regards.........
Topic archived. No new replies allowed.