websocket
linux内核控
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
websocket的helloworld
ChatClient.java ChatServer.java EmptyClient.java WebSocket.jar index.html [code="java"] index.html WebSocket Chat Client document.observe("dom:loaded"...原创 2014-02-06 23:47:59 · 248 阅读 · 0 评论 -
openresty websocket
mac安装openresty [code="java"] brew install openssl ./configure --prefix=/usr/local/openresty --with-openssl=/usr/local/Cellar/openssl/1.0.2o_1 make make install [/code] openssl还是有问题 shared等...原创 2018-04-18 17:08:57 · 1302 阅读 · 0 评论 -
nginx代理wss和https
nginx启用ssl yum install openssl openssl-devel -y ./configure --prefix=/usr/local/nginx --with-http_ssl_module img]http://dl2.iteye.com/upload/attachment/0128/9904/e0b62951-a384-3178-a74c-2f...原创 2018-02-27 15:34:43 · 1987 阅读 · 0 评论 -
websocket传传图片
参考[url]http://www.adobe.com/devnet/archive/html5/articles/real-time-data-exchange-in-html5-with-websockets.html [/url] server端还是用tomcat7的方式 客户端 [code="java"] Insert title ...原创 2015-12-25 17:51:14 · 1804 阅读 · 0 评论 -
autobahn的helloworld
python2.7.8可用,python2.6一样的代码就有问题 https://github.com/tavendo/AutobahnPython/ git clone https://github.com/tavendo/AutobahnPython.git 为了不污染python的系统环境 假设我的当前目录是 /data/mysocket/python/ [cod...原创 2014-11-08 18:36:10 · 274 阅读 · 0 评论 -
ios websocket server端
https://github.com/benlodotcom/BLWebSocketsServer 尝试了几个server只有这个成功运行了 两处改动 1.ViewController.h UIWebView必须是strong的,不能是weak 2.build setting :Objective-C Automatic Reference Counting设置成false 另外...原创 2014-10-22 00:07:32 · 1082 阅读 · 0 评论 -
websocket和tap使用select关联
c语言的socket基础[url]http://haoningabc.iteye.com/blog/2305026[/url] python的socket基础+select的方式[url]http://haoningabc.iteye.com/blog/2305036[/url] 之后改造jslinux-network 把websocket和tap绑定 注意改了源码保证多个浏览器客...原创 2016-06-14 22:01:03 · 248 阅读 · 0 评论 -
ios客户端websocket的helloworld
ios8,xcode6 [url]https://github.com/square/SocketRocket[/url] [url]https://github.com/killinux/SocketRocket[/url] 中的一个文件夹SocketRocket,3包含三个文件 SRWebSocket.h SRWebSocket.m SocketRocket-Prefix.pc...原创 2014-10-09 02:11:14 · 226 阅读 · 0 评论 -
websocket,使用tomcat7转发
前篇: [url]http://haoningabc.iteye.com/blog/2011985[/url] 代码的git地址 [url]https://github.com/killinux/mysocket/tree/master/websocket/project/tomcat7servlet[/url] 如果是使用tomcat7的模式 1.html是客户端 2.tom...原创 2014-10-03 18:40:58 · 439 阅读 · 0 评论 -
websocket相关调研 总结帖
最近把websocket的客户端和服务端使用过的调通的例子总结如下 摒弃XMPP,xml类的在网络传输无论是流量还是性能已经是公认的瓶颈了。 采用websocket协议, 1.是数据格式可自定义,json,流,二进制等,极大的节约了网络流量,更具灵活性 2.方向多源,性能能达到极致而且可控。 3.跨平台,在web端,ios端,android端或者pc上通用,任意整合 但是目前web...原创 2014-12-21 21:53:43 · 425 阅读 · 0 评论 -
openresty聊天室的helloworld
openresty的websocket + redis的subscribe 参考 [url]https://blog.csdn.net/orangleliu/article/details/50898014[/url] 利用redis的subscribe 参考[url]http://www.runoob.com/redis/pub-sub-subscribe.html[/url] ...原创 2018-04-22 19:25:25 · 331 阅读 · 0 评论
分享