mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-14 10:00:52 +08:00
直接打印SockException类
This commit is contained in:
@@ -33,7 +33,7 @@ protected:
|
||||
}
|
||||
//被动断开连接回调
|
||||
void onErr(const SockException &ex) override {
|
||||
WarnL << ex.what();
|
||||
WarnL << ex;
|
||||
}
|
||||
//tcp连接成功后每2秒触发一次该事件
|
||||
void onManager() override {
|
||||
@@ -42,7 +42,7 @@ protected:
|
||||
}
|
||||
//连接服务器结果回调
|
||||
void onConnect(const SockException &ex) override{
|
||||
DebugL << ex.what();
|
||||
DebugL << ex;
|
||||
}
|
||||
|
||||
//数据全部发送完毕后回调
|
||||
|
||||
Reference in New Issue
Block a user