|
Boost : |
Subject: Re: [boost] Boost ASIO - Client Request TCP Help..!!
From: Rahul Mathur (srivmuk_at_[hidden])
Date: 2013-10-11 23:58:21
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_at_[hidden]> wrote:
> On Fri, Oct 11, 2013 at 2:03 PM, Rahul Mathur <srivmuk_at_[hidden]> 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
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk