|
From: Christian H. <chh...@gm...> - 2007-05-20 22:20:12
|
Hi Dean, I have successfully compiled and run the code using VC7.1 .
I'm using boost 1.34. I tried boost 1.33.1 but then the test code
doesn't compile. So, I think we should make a statement of using 1.34.
One reason for me to join this effort was to learn more about
networking application. So, please excuse my obvious lack of
knowledge. I was taking a look at asio's http example. How would you
construct your network::message to generate a client request. In this
example the client does the following:
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";
as an example the server might be "www.boost.org" and the path is
"/LICENSE_1_0.txt".
So what would be the source identifier, destination identifier,
header, and body?
Regards,
Christian
On 5/20/07, Dean Michael Berris <mik...@gm...> wrote:
> Hi Everyone!
>
> If and when you have the time, I've been working on the message type
> and I've got code already up in the subversion repository.
>
> I'm developing this using the Test Driven Development approach, where
> I write the tests first (in libs/network/test) then make the tests
> "run green" by adding new functionality and/or refactoring.
>
> I've tried to put as much documentation into the code as I can, and if
> there are some things not clear form the get go please feel free to
> email questions/suggestions/clarifications to the list so we can
> discuss it.
>
> Thanks in advance!
>
> --
> Dean Michael C. Berris
> http://cplusplus-soup.blogspot.com/
> mikhailberis AT gmail DOT com
> +63 928 7291459
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Cpp-netlib-devel mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel
>
|