sj->dFC->s->async_send_to(boost::asio::buffer(
this->charBuffer,sendBytes),
*sj->dFC->e,
boost::bind(&sender::sendHandler,this,
boost::asio::placeholders::error,
boost::asio::placeholders::bytes_transferred);
}
and the corresponding handler is this:
void sender::sendHandler(const boost::system::error_code& error,std::size_t bytes_transferred){
cout << "TRIGGER" << endl;
}
Can anyone give me a hint what the reason for the not-working handler might be ?
Thanks in advance,
best
Alex