5 Feb
2009
5 Feb
'09
10:01 a.m.
Hi,
I can't seem to find the right stream type that takes my existing socket. Does such a creature exist in the ASIO library?
This is what I do: boost::asio::streambuf request; std::ostream requestStream(&request); requestStream << myMessage; // Send the request. boost::asio::write(socket, request); Regards, Roland