From: Nelson, E. - 2 <eri...@ba...> - 2010-02-09 22:53:02
|
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 |