![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
websocket
linux内核控
这个作者很懒,什么都没留下…
展开
-
websocket的helloworld
ChatClient.javaChatServer.javaEmptyClient.javaWebSocket.jarindex.html[code="java"]index.html WebSocket Chat Client document.observe("dom:loaded"...原创 2014-02-06 23:47:59 · 187 阅读 · 0 评论 -
openresty websocket
mac安装openresty[code="java"]brew install openssl./configure --prefix=/usr/local/openresty --with-openssl=/usr/local/Cellar/openssl/1.0.2o_1makemake install [/code]openssl还是有问题 shared等...原创 2018-04-18 17:08:57 · 1161 阅读 · 0 评论 -
nginx代理wss和https
nginx启用sslyum install openssl openssl-devel -y./configure --prefix=/usr/local/nginx --with-http_ssl_moduleimg]http://dl2.iteye.com/upload/attachment/0128/9904/e0b62951-a384-3178-a74c-2f...原创 2018-02-27 15:34:43 · 1905 阅读 · 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 · 1703 阅读 · 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 · 205 阅读 · 0 评论 -
ios websocket server端
https://github.com/benlodotcom/BLWebSocketsServer尝试了几个server只有这个成功运行了两处改动1.ViewController.h UIWebView必须是strong的,不能是weak2.build setting :Objective-C Automatic Reference Counting设置成false另外...原创 2014-10-22 00:07:32 · 841 阅读 · 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 · 191 阅读 · 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 · 165 阅读 · 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 · 367 阅读 · 0 评论 -
websocket相关调研 总结帖
最近把websocket的客户端和服务端使用过的调通的例子总结如下摒弃XMPP,xml类的在网络传输无论是流量还是性能已经是公认的瓶颈了。采用websocket协议,1.是数据格式可自定义,json,流,二进制等,极大的节约了网络流量,更具灵活性2.方向多源,性能能达到极致而且可控。3.跨平台,在web端,ios端,android端或者pc上通用,任意整合但是目前web...原创 2014-12-21 21:53:43 · 357 阅读 · 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 · 242 阅读 · 0 评论