首 页IT知识库翔宇问吧收藏本站
当前位置:翔宇亭IT乐园IT知识库WEBPHP

PHP Socket工具包nanoserv 2.1.0介绍

减小字体 增大字体 作者:不详  来源:转载整理  发布时间:2010-10-15 08:32:33

Nanoserv 是PHP 5.1 以及以上版本下的一个socket 守护进程的工具包。

它100%面向对象的,支持TCP with SSL/TLS 和 UDP 连接,高性能的鲁棒设计,多路传输和分叉听众,处理原料连接,线路输入的HTTP,SMTP,XML - RPC的,透明的跨系统日志与叉处理过程中的通信等等。

新版本主要改进内容:

(1) 支持 Unix sockets

(2) 写缓冲优化

(3)telnet 协议处理

(4) 基于 JSON_RPC 的服务器类

(5) 更好的处理 TLS/SSL 加密错误

(6) 修复不少的bug和错误

官方网站的介绍如下:

Nanoserv is a server daemon framework for PHP 5.1+

It is distributed under the terms of the GNU Lesser General Public License.

It's a complete rewrite of the shadok sockets PHP4 library (the one behind phpos and sh4re).

It may also become - one day - the core of nanoweb 3.0

Nanoserv main features include :
 

  • 100% object oriented, asynchronous event-based framework
  • designed for high performance and robustness
  • native support for IPv6, TCP with SSL/TLS, UDP and Unix sockets
  • multiplexing and forking listeners
  • base handlers for raw connections, line input, Telnet, HTTP, SMTP, XML-RPC, Syslog, SOAP, DHCP and JSON-RPC
  • transparent inter process communication with forked handlers
  • high precision timers
  • and a lot more ...

It is designed to work with PHP 5.1 but you will need PHP 5.3+ to take advantage of some features like namespaces.

Any feedback, ideas, help for documentation writing or beta-testing, would be greatly appreciated !


本文源自:翔宇亭——IT乐园(http://www.biye5u.com),转载请保留此信息!

知识评论评论内容只代表网友观点,与本站立场无关!

   评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论

用户名: 查看更多评论

分 值:100分 85分 70分 55分 40分 25分 10分 1分

内 容:

            请注意用语文明且合法,不要发布带有攻击性、侮辱性的言论,谢谢合作!

         通知管理员 验证码:

关于本站 | 网站帮助 | 广告合作 | 网站声明 | 友情连接 | 网站地图 | 用户守则 | 联系我们 |
本站大多数内容来自互联网或网站会员发布,如有侵权,请来信告之,谢谢!
Copyright © 2007-2017 biye5u.com. All Rights Reserved.
网站备案号:黑ICP备13005378号-3