CodePudding user response:
See error message, it should be your parameters are not ah, bind (functions, parameters 1, 2 parameters, parameter 3... )Read_handler_head function parameter is what type?
CodePudding user response:
Has been solved, forgot to add this pointer to bind function,,,Boost: : bind (& amp; SocketClient: : read_handler_head, this, an asio: : placeholders: : error, & amp; M_sockcli));