1
This commit is contained in:
parent
45922a8e8a
commit
7f568dcbd9
@ -38,6 +38,26 @@ namespace a8
|
||||
tcp_client_ = std::make_shared<AsioTcpClient>(io_context, remote_ip, remote_port);
|
||||
decoded_buff_ = (char *)malloc(1024 * 64 + 1);
|
||||
decoded_bufflen_ = 0;
|
||||
tcp_client_->on_error =
|
||||
[] (a8::AsioTcpClient* socket, int err)
|
||||
{
|
||||
|
||||
};
|
||||
tcp_client_->on_connect =
|
||||
[] (a8::AsioTcpClient* socket)
|
||||
{
|
||||
|
||||
};
|
||||
tcp_client_->on_disconnect =
|
||||
[] (a8::AsioTcpClient* socket)
|
||||
{
|
||||
|
||||
};
|
||||
tcp_client_->on_socketread =
|
||||
[] (a8::AsioTcpClient* socket, char* buf, unsigned int buf_len)
|
||||
{
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
WebSocketClient::~WebSocketClient()
|
||||
|
Loading…
x
Reference in New Issue
Block a user