No Viable function warning

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

No Viable function warning

Boost - Dev mailing list
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