3 Sep
2018
3 Sep
'18
11:16 a.m.
boost::asio::transfer_all
2018年7月9日星期一,randydom via Boost
Hello i've the bellow function :
__declspec(dllexport) int TrySendData(_isocket * isocket,char * ibuff,int ilen) { boost::system::error_code ignored_error; boost::asio::write(isocket->socket(), boost::asio::buffer(ibuff, ilen), boost::asio::transfer_all(), ignored_error); if(ignored_error) return 0; return 1; }
I get a *No Viable function* warning , can someone tells me why or helps me in fixing this warning .
Thank you .
-- Sent from: http://boost.2283326.n4.nabble.com/Boost-Dev-f2600599.html
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/ mailman/listinfo.cgi/boost