
12 Oct
2013
12 Oct
'13
1:03 a.m.
On Fri, Oct 11, 2013 at 2:03 PM, Rahul Mathur
YES, I tried with ":tcp::socket::send(boost::asio::buffer((void *)pf, sizeof(pf)))" but it didn't worked.
Did you try: std::size_t n = socket.send(boost::asio::buffer(&pf, sizeof(pf))); I don't think boost::ip::tcp::socket::send is a static function. - Trey