Is there any reason I can't send a binary response?
For example, the hello_world_server has
response = server::response::stock_reply(server::response::ok, "Hello,
World!");
Could I fill a string with binary data and send it like this?
String s("\0\0\0\0\0")
response = server::response::stock_reply(server::response::ok, s);
and get it out on the client side? If so, would I use
boost::network::body(response) on the client side, or something else?
Thanks
Erik
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel