CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - tcp socket server
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
ASP
ASPX.NET
PHP
JSP/Java
FlashMX
Perl
Other Web Code
SilverLight
Search - tcp socket server - List
[
WEB Code
]
phpwebsocket
DL : 0
HTML5+websocket实现PHP简单聊天室,含使用文档+源代码,开发语言:HTML5,Javascript,php,开发工具:Phpstorm 4.0,网上基本找不到一个成功用php写server的案例,比较少商业用途会使用这个脚本语言来实现server。html5 websocket的根本通讯还是基于http get,所以在性能上,理论值会比tcp socket低一点点。 PHP的垃圾回收机制,做socket长连接,是有问题的。 关于多线程,Php本来是单线程的,如果要做到多线程,可以做,但是一些文章说做出来的那个效果,是假的多线程,并不是实际意义上的多线程处理事务(文章说的,尚未证实)。php server长时间运行,是会挂起来的,要定期重启server。可能是由于长连接的原因。 因采用HTML5技术,所以你的浏览器需要支持HTML5,推荐使用火狐或Chrome,Safari等-HTML5+ websocket achieve a simple PHP chat rooms, including the use of documentation+ source code, development languages : HTML5, Javascript, php, development tools: Phpstorm 4.0, basically find a successful online server with php written cases, relatively few commercial uses will using this scripting language to implement server. html5 websocket communication is based on the fundamental http get, so the performance will be lower than the theoretical value tcp socket a little bit. PHP s garbage collection mechanism, so long connection socket, there is a problem. Multithreading, Php originally single-threaded, multi-threading if you want to do, you can do it, do it, but some articles say that the effect is a fake multi-threaded, multi-threaded processing services is not practical sense (article says I have not yet confirmed). php server long run, it will hang up, periodically restart the server. May be due to the long connection. Due to the use of HTML5 technology, so
Date
: 2025-12-30
Size
: 461kb
User
:
spudn90
[
WEB Code
]
mySocket
DL : 0
使用此库可以直接在网页上创建 Socket TCP 连接,并与服务端连接,发送和接收数据。拥有完善的 Socket 接口,更方便操作。 Socket 适用于点对点聊天、协同或者聊天时等需要获得实时的数据。如果您找到了此组件,也必然知道 Socket 和 AJAX 的区别。 迈云 JavaScript Socket 类可以在网页上创建原生Socket,并与服务器端通讯。Socket具有持久、实时的优点,适合IM、聊天室、网络游戏、实时更新、实时推送等等的各个场合。-Using this library can be directly on the page to create a TCP Socket connection, and connect to the server, send and receive data. Has a perfect Socket interface, more convenient to operate. Socket is suitable for point to point chat, collaboration, or chat, and other needs to get real-time data. If you find this component, you must know the difference between Socket and AJAX. Mai Yun Socket JavaScript class can create a native Socket on the web, and communication with the server side. Socket has the advantages of lasting, real-time, suitable for IM, chat rooms, online games, real-time updates, real-time push and so on all occasions.
Date
: 2025-12-30
Size
: 8kb
User
:
zzpudn62
[
WEB Code
]
Ding-v1.6.1.tar
DL : 0
Ding 是一个 PHP 框架实现了依赖注入、AOP面向方面编程、轻量级、简单和快速的 MVC 模式,syslog、TCP客户端和服务器端非阻塞的套接字、定时器、自定义错误、信号以及异常处理、PAGI 集成、PAMI集成等等,类似 Java 的 Spring 框架。 Ding Framewrok v1.6.0增加了MVC pre- 和post-dispatch拦截器,增加了当创建bean时候要对周期依赖的检查,修复了缓存中的bean被容器中的类知道的bug。-Ding is a PHP framework and implementation the dependency injection, AOP oriented programming, lightweight, simple and fast MVC pattern, syslog, TCP client and server non blocking socket, timer, custom error, signal and exception handling, pagi integration, PAMI set and so on, similar to Java s spring framework. Ding Framewrok v1.6.0 increase the MVC pre- and Post-Dispatch interceptor, increasing the inspection when creating bean to the cycle dependent, the bug fixes the bean cache container class to be aware of.
Date
: 2025-12-30
Size
: 145kb
User
:
shenling0409
[
WEB Code
]
socket
DL : 0
php tcp客户端与服务器端代码,带阻塞与非阻塞设置,地址重用设置(php tcp client and server)
Date
: 2025-12-30
Size
: 1kb
User
:
xiaoqi007
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.