ZLToolKit icon indicating copy to clipboard operation
ZLToolKit copied to clipboard

一个基于C++11的轻量级网络框架,基于线程池技术可以实现大并发网络IO

Results 28 ZLToolKit issues
Sort by recently updated
recently updated
newest added

Dear Author: Currently, there are very few lightweight network libraries on the market that include TCP, UDP, HTTP, and websocket. ZlMediaKit uses the author's own ZLToolKit as the underlying network...

TransByAI

Currently, the SockUtil::connect function creates and binds the socket, then immediately connects to the remote destination IP and port. However, sometimes these two things need to be done separately. For...

TransByAI

写日志函数:writeChannels会对重复日志做优化,如果多个线程打印同一个日志,会累记重复次数,等日志不一样时,会把重复的这条日志打印出来, 但是打印出来的日志是重复时最开始的那条(打印出来的线程名是第一条日志对应的线程), 可能后面重复的日志不是第一条对应的线程的, 建议判断重复的时候加上线程这个条件

bug

![进程Debug版本退出时异常](https://github.com/ZLMediaKit/ZLToolKit/assets/5442980/efa43d4b-b5d3-4226-95f8-f2322b408800) > ![进程Debug版本退出时异常](https://github.com/ZLMediaKit/ZLToolKit/assets/5442980/efa43d4b-b5d3-4226-95f8-f2322b408800) `TRANS_BY_GITHUB_AI_ASSISTANT`

TransByAI

Yesterday, the code I pulled down, the TCP client and server were running on different machines (Linux) respectively. The client connected to the server, and everything was running normally. At...

TransByAI

https://github.com/ZLMediaKit/ZLToolKit/blob/28b7aea107089c17c6f10e8657d27a0815f85b25/src/Poller/EventPoller.cpp#L294C91-L294C91 This thread has been continuously occupying the cpu for more than 4 days ```bash 00000009`e427b520 00007ff6`9b63287c : 00000009`e3cb8dc8 00007ff6`00000001 00007ff6`9c248500 00000000`000000f8 : MediaServer!_InlineInterlockedAdd+0x17 [C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h @ 3049]...

TransByAI

**Issue:** The implementation of Timer does not consider the time spent executing the callback itself. For example, if a timed task is scheduled to execute every 1 second, and each...

TransByAI

Since the company's other projects use mbedtls, and most are embedded devices, openssl is a bit large. I modified the toolkit project myself to use mbedtls, and the process can...

TransByAI

`semaphore.h` is a standard header file in the C language. I also wrote a `semaphore.h` here. It seems easy to conflict if they are used together? >semaphore.h 是 C 语言中的一个标准头文件,这里也写了个semaphore.h,两个一起使用好像容易冲突?...

TransByAI

```cpp QWeakPointer weakSelf = QWeakPointer(sharedFromThis()); sockRecv = Socket::createSocket();//Create a UDP data receiving port sockSend = Socket::createSocket();//Create a UDP data sending port sockRecv->bindUdpSock(9001);//Bind UDP to port 9001 for receiving sockSend->bindUdpSock(0, "0.0.0.0");//Bind...

TransByAI