
12 Oct
2013
12 Oct
'13
3:58 a.m.
YES, I did tried earlier and it did worked BTW, how to know which are relative and static functions. On Sat, Oct 12, 2013 at 6:33 AM, Joseph Van Riper < fleeb.fantastique@gmail.com> wrote:
On Fri, Oct 11, 2013 at 2:03 PM, Rahul Mathur
wrote: 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
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost