
12 Oct
2013
12 Oct
'13
1:05 p.m.
On Fri, Oct 11, 2013 at 11:58 PM, Rahul Mathur
YES, I did tried earlier and it did worked BTW, how to know which are relative and static functions.
As you look at the Asio reference, you'll see that there are 'Free functions'. Those are going to be static functions. Anything else requires an instance of a class. I think you could have also used: boost::asio::write( socket, boost::asio::buffer( &pf, sizeof(pf)), ec ); if you wanted to use free functions instead of the class's .send() function. - Trey