Hello , I’ve the following c++ call that gives me an “ Invalid Argument “ error :int Asio_Send_Pck(int iSendt,int Lsocket,char * Lbuff,int Len)
{
session* iTempSession = reinterpret_cast<session*>(
Lsocket); boost::asio::async_write(
iTempSession->socket() , boost::asio::buffer(Lbuff, Len),
boost::bind(&session::handle_
write, iTempSession,
boost::asio::placeholders::
error, iTempSession->data,
iSendt
));
return 0;
};
Please may i know where's this invalide argument ?
Thank you
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost- users