'boost::asio::basic_stream/datagram_socket<Protocol>' error

来源:互联网 发布:阿里云上传视频教程 编辑:程序博客网 时间:2024/06/01 07:49

the reason of the error:

   boost::asio::ip::tcp::socket sock; //using this style  or

   boost::asio::ip::udp::socket sock;


the  solution:

client::client()   

  :      sock(io_service)  

{  

 

}  


0 0
原创粉丝点击