Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to integrate the http and websocket modules from ZlMediakit into ZLToolKit to form a complete network library? #114

Open
avStudy opened this issue Jun 25, 2022 · 6 comments

Comments

@avStudy
Copy link

avStudy commented Jun 25, 2022

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 library, but http and websocket are directly written into ZlMediakit. It would be better if they could be integrated into ZlToolKit. 

作者你好:
目前市面上很少有轻型的网络库同时包含TCP、UDP、HTTP、websocket,ZlMediaKit使用了作者自己的ZLToolKit做为基础网络库,但是http和websocket是直接写到了ZlMediakit里面,如果能整合到ZlToolKit里面就更好了。

TRANS_BY_GITHUB_AI_ASSISTANT

@wasphin
Copy link
Member

wasphin commented Jun 25, 2022

Although ZLM includes HTTP and WebSocket functionality, it is not actually a complete protocol stack based on standard implementations. It is mostly developed based on the needs of ZLM. It may not be suitable for direct use as a general-purpose protocol stack. Patches are welcome.

虽然 ZLM 中带了 HTTP 以及 WebSocket 的功能, 但其实不是针对标准实现的完整协议栈, 多是根据 ZLM 中需求不断完善. 不一定适合直接拿出去作为通用协议栈使用. 欢迎 Patch 完善.

TRANS_BY_GITHUB_AI_ASSISTANT

@xia-chu
Copy link
Member

xia-chu commented Jun 26, 2022

@avStudy I suggest you delete and simplify zlm, then form a new project, which would be more reliable...

@avStudy 我建议你把zlm删改精简下 然后形成一个新项目,这样更靠谱点。。。

TRANS_BY_GITHUB_AI_ASSISTANT

@xia-chu
Copy link
Member

xia-chu commented Jun 26, 2022

I'll consider making a similar streamlined project later. The demand you mentioned is indeed quite common; however, I still hope that everyone can work together to build and share, and work together to improve it.

后面我也考虑下做个这样的精简项目吧,你说的这种需求确实还是比较多见;不过我还是希望大家能一起共建共享,一起来完善

TRANS_BY_GITHUB_AI_ASSISTANT

@wasphin
Copy link
Member

wasphin commented Jun 26, 2022

Actually, there are already relatively complete UDP/TCP HTTP/WebSocket libraries in boost. If it is to be a general-purpose network library, it is uncertain whether it can have a significant advantage like ZLM.

其实像 boost 中已经有比较完善的 UDP/TCP HTTP/WebSocket 库,如果作为一个通用网络库,不确定是否能像 ZLM 中这样发挥比较明显的优势。

TRANS_BY_GITHUB_AI_ASSISTANT

@avStudy
Copy link
Author

avStudy commented Jun 26, 2022 via email

@yangwei1987
Copy link

yangwei1987 commented Oct 31, 2022

后面我也考虑下做个这样的精简项目吧,你说的这种需求确实还是比较多见;不过我还是希望大家能一起共建共享,一起来完善

Hello, I have streamlined an HTTP library based on your ZLMedia. Could you take a look at it when you have time? Maybe we can promote it together.

后面我也考虑下做个这样的精简项目吧,你说的这种需求确实还是比较多见;不过我还是希望大家能一起共建共享,一起来完善

您好,我根据您的ZLMedia精简了一个HTTP库,方便的时候帮我看一下,是否可以一起推广起来

TRANS_BY_GITHUB_AI_ASSISTANT

@alexliyu7352 alexliyu7352 changed the title 是否可以将ZlMediakit里面的http和websocket模块整合到ZLToolKit里面,形成一个完整的网络库 Is it possible to integrate the http and websocket modules from ZlMediakit into ZLToolKit to form a complete network library? Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants