|
Boost Users : |
Subject: [Boost-users] Boost [asio]
From: randy (randydom_at_[hidden])
Date: 2018-07-17 10:08:32
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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net