1.3.4 release.
A container holding messages that were failed to send will be provided via on_send_error virtual function. Failure of binding or listening in server_base will not stop the service_pump any more. Virtual function client_socket_base::prepare_reconnect() now only control the retry times and delay time after reconnecting failed. Expose server_base's acceptor via next_layer(). Prefix suffix packer and unpacker support heartbeat. New demo socket_management demonstrates how to manage sockets if you use other keys rather than the original id. Control reconnecting more flexibly, see function client_socket_base::open_reconnect and client_socket_base::close_reconnect for more details.
Showing
想要评论请 注册 或 登录