/usr/include/asio/impl/write.ipp: In function ‘void asio::async_write(AsyncWriteStream&, const ConstBufferSequence&, CompletionCondition, WriteHandler) [with AsyncWriteStream = asio::basic_stream_socket<asio::ip::tcp, asio::stream_socket_service<asio::ip::tcp> >*, ConstBufferSequence = asio::const_buffers_1, CompletionCondition = asio::detail::transfer_all_t, WriteHandler = boost::_bi::bind_t<void, boost::_mfi::mf1<void, NetworkMachine, const asio::error_code&>, boost::_bi::list2<boost::_bi::value<NetworkMachine*>, boost::arg<1> (*)()> >]’:
/usr/include/asio/impl/write.ipp:197: instantiated from ‘void asio::async_write(AsyncWriteStream&, const ConstBufferSequence&, WriteHandler) [with AsyncWriteStream = asio::basic_stream_socket<asio::ip::tcp, asio::stream_socket_service<asio::ip::tcp> >*, ConstBufferSequence = asio::const_buffers_1, WriteHandler = boost::_bi::bind_t<void, boost::_mfi::mf1<void, NetworkMachine, const asio::error_code&>, boost::_bi::list2<boost::_bi::value<NetworkMachine*>, boost::arg<1> (*)()> >]’
CommunicationClients/network_machine.cpp:111: instantiated from here
/usr/include/asio/impl/write.ipp:186: erreur: request for member ‘async_write_some’ in ‘s’, which is of non-class type ‘asio::basic_stream_socket<asio::ip::tcp, asio::stream_socket_service<asio::ip::tcp> >*’
Partager