â»Tomcat7.0.52対å¿ãµã³ãã«ããã°ã©ã ã¯ãã¡ãã ä»æ´æãããã¾ãããTomcat7ã§WebSocketããµãã¼ãããã¾ããã®ã§ãç°¡åãªãµã³ãã«ï¼ãã£ããã¢ããªï¼ãæ¸ãã¦ã¿ã¾ãããWebSocketã使ãã°ãã£ã¨è²ã ãªãã¨ãã§ããããªã®ã§ãããåä½ç¢ºèªãå«ãããµã³ãã«ã¨ãããã¨ã§... ã¾ãã¯ã½ã¼ã¹ã§ããï¼ã¤ããã¾ãããä¸ããHTMLãweb.xmlãJavaã§ãã HTML 7è¡ç®ã§WebSocketãªãã¸ã§ã¯ããä½æãã¾ããã¹ãã¼ã ã¯wsã§ãã 8è¡ç®ã®onopenã¯æ¥ç¶ãå®äºããã¿ã¤ãã³ã°ã§å®è¡ããã¾ããä»åã¯ä½ãæ¸ãã¦ãã¾ããã 10è¡ç®ã®onmessageã¯ã¡ãã»ã¼ã¸ãåä¿¡ããã¿ã¤ãã³ã°ã§å®è¡ããã¾ããä»åã¯ãã£ããã¡ãã»ã¼ã¸ãéããã¦ãã¾ãã®ã§ãdocument.getElementById()ã使ã£ã¦ç»é¢ãæ´æ°ãã¾ãã 14è¡ç®ã®sendã§ãµã¼ãã«ã¡ãã»ã¼ã¸ãéä¿¡ã
intro ãªãã ããã WebSocket ã使ã£ã¦ãã®ã«ã WebSocket ãµã¼ããèªåã§æ¸ãããã¨ãç¡ãã£ãã®ã§ãRFC ãè½ã¡çãã¦ãããããã§ãä»æ§ãèªã¿ãªããå®è£ ãã¦ã¿ããã¨æãã¾ããã "WebSocket ãµã¼ã å®è£ " ã¨ãã§ã°ã°ãã¨ã Socket.IO ã¨ã pywebsocket 㧠WebSocket ã¢ããªä½ã£ã¦ããWebSocket ãµã¼ããå®è£ ãã¿ãããªã¿ã¤ãã«ã«ãªã£ã¦ããã¨ãå¤ãã¿ããã§ããã (Apache ã« PHP 㧠HelloWorld ãã¦ããHTTP ãµã¼ãå®è£ ãã¾ãããã¨ã¯è¨ããªãããã) ãã®è¨äºã§ã¯ã WebSocket ãããã³ã«ãããã¹ããµã¼ãèªä½ãå®è£ ãã¾ãã ã¨ãã£ã¦ããå ¨é¨ããã®ã¯ã¡ãã£ã¨å¤§å¤ã ã£ãã®ã§ãåºæ¬çãªããã¹ãã¡ãã»ã¼ã¸ã®ããã¨ãã®é¨åã ããã£ã¦ãã¨ã³ã¼ãµã¼ããã§ããã¨ããã¾ã§ããã¾ããã å®æçã®ã½ã¼ã¹ã¯ä»¥ä¸ã§
Redmine, git, Jenkins ãªã©ããã¸ã§ã¯ã管çãã¼ã«ã®ç¶æ ã横æçãã¤ãªã¢ã«ã¿ã¤ã ã«è¡¨ç¤ºããWebã¢ããªãDashbozuããä½ãã¾ããã ããã使ãã°ãä¸ã¤ã®ç»é¢ã§ããã¸ã§ã¯ãã®âä»âã®ç¶æ ãææ¡ã§ãã¾ãã WebSocketãç¨ãã¦ããã®ã§ããã éãã¦ããã ãã§ã次ã ã¨æ å ±ãå¾ããã¨ãã§ãã¾ãã iPadã§éãã£ã±ãªãã«ãã¦ãæºã®ä¸ã«ç½®ãã¦ãããããªä½¿ãæ¹ãæ³å®ãã¦ãã¾ãã ãªããããä½ã£ãã ä¸è¬çãªã½ããã¦ã§ã¢éçºç¾å ´ã§ã¯ Redmineã§ãã±ãããä½æãã gitã§ã³ããããç¹°ãè¿ããä¸å¤®ã¬ãã¸ããªã«pushãã Jenkinsã«ããCIãå®è¡ããã çµæã確èªããRedmineã®ãã±ãããéãã ã¨ããæµãã§ä½æ¥ãé²ãã§ããã¾ãã ãããã®ä½æ¥ã®ä¸ã§ãéçºè ã¯ãé©åãªãã¿ã¤ãã³ã°ã§ãã§ãã¯ã¨ãã£ã¼ãããã¯ããããã¨ãæ±ãããã¾ãã ä¾ãã°ããã§ãã¯ã®ã¿ã¤ãã³ã°
é·ãè¨äºãªã®ã§ãå ã«çµè«ã ãæ¸ãã¦ããã¾ããWebSocketã®ãã¤ããªã¡ãã»ã¼ã¸æ©è½ã¯ãããã¾ã§ã®ã¤ã³ã¿ã¼ãããã®ããæ¹ãã²ã£ããè¿ãã¾ããããããªã®ç¥ã£ã¦ãããã¨ããæ¹ãããã¨ã¯æãã¾ããåãçå±ã§ã¯åãã£ã¦ãã¤ããã ãã©ãå®éã«ã¢ããªãä½ã£ã¦ã¿ã¦ãå ·ä½çã«ãããæãããã¨ãã§ããã®ã§ãã¡ãã£ã¨é·ãã§ããã©ããããã¨ãªã®ã説æãã¦ã¿ã¾ãã WebSocketã¨ã¯ # WebSocketã¯ãHTML5é¢é£ã®ä¸ã§ãç¹ã«æ³¨ç®ãéãã¦ããæè¡ã®ä¸ã¤ã§ããé常ã®HTTPéä¿¡ã§ããã°ã¯ã©ã¤ã¢ã³ãããã®ãªã¯ã¨ã¹ããªãã«ãµã¼ãã¼ã¯å¿çãã¾ããããWebSocketã使ããã¨ã§ã¯ã©ã¤ã¢ã³ãã¨ãµã¼ãã¼ã®éã§åæ¹åã®éä¿¡ãå¯è½ã¨ãªãã¾ãããããå©ç¨ãããã¨ã§ãä»å¾æ§ã ãªãªã¢ã«ã¿ã¤ã æ§ã®é«ããµã¼ãã¹ãæ§ç¯ãããã¨ãå¯è½ã«ãªãã§ãããã ãããªWebSocketã§ãããããã¾ã§æ³¢ä¹±ã®éãæ©ãã§ãã¾ãããæ°å¹´åã
JavaScriptJavaScript Advent Calendar 2011 (Node.js/WebSocketsã³ã¼ã¹)ã®6æ¥ç®ãååå ã§ããç·å¼µãã¾ããWebSocketãã¿ã¨ãããã¨ã§ãChromeã®WebKit Remote Debugging Protocolã使ã£ã¦WebSocketã§Google Chromeãæä½ããå°ãã¿ãæé 1.ãªã¢ã¼ããããã°ãæå¹ã«ãã¦Chromeãèµ·åChromeã®èµ·åãªãã·ã§ã³ã«--remmote-debugging-portãä»å ãã¦ãªã¢ã¼ããããã°ãæå¹ã«ããã $ chrome --remote-debugging-port=9222 2.ã¿ãä¸è¦§ãåå¾ä»åã¯ã³ã³ããã¼ã«ããå´(Chrome)ã¨ãããå´(node)ãåä¸ãã¹ãã§åãã¦ããã®ã¨ãã¾ããhttp://localhost:9222/jsonãGETã§å©ãã¨Chromeã®ã¿
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. I started project in Rails 3 and I need to add notificatio
Node ã«ãããã¹ã±ã¼ã«ã¢ã¼ããã¯ãã£èå¯(Scale ç·¨)ã¨ããã¨ã³ããªã¼ãèªãã§ãRedisã¯Pub/Subåéä¿¡ããµãã¼ããã¦ããã¨ããäºãç¥ãã¾ãããã¨ã³ããªã¼ã§ãè¨åããã¦ããããã«ãPub/Subã使ãã° Node.js + WebSocket ãµã¼ããã¹ã±ã¼ã«ããéã«ãä¸ç¶ãµã¼ãã®å½¹å²ãæããäºãåºæ¥ãã¯ãã§ãã ãããªè¨³ã§å®éã« Node.js 㨠Redis ã使ã£ã¦ Pub/Sub ã®å®é¨ãè¡ãªã£ã¦ã¿ã¾ãããã¦ã¼ã¶ãå¥ã ã®Node.jsãµã¼ãã«æ¥ç¶ãã¦ãã¦ãWebSocketãéãã¦ã¡ãã»ã¼ã¸ã®ããåããåºæ¥ãããã«ãã¾ãã ã¤ã¡ã¼ã¸ã¨ãã¦ã¯ãããªæãã§ãã ä¸æºå# Ubuntuã®å ´å㯠apt-get ã§1çºã§ã¤ã³ã¹ãã¼ã«ããäºãåºæ¥ã¾ãã $ sudo apt-get install redis npmã§redisã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ãã¾ãã $ npm i
var http = require('http'), fs = require('fs'), ws = require('websocket-server'); var httpServer = http.createServer(function (req, res) { var docroot = "public"; var response = function(data) { res.writeHead(200, {'Content-Type': 'text/html'}); res.end(data); }; fs.readFile(docroot+req.url, function(err, data) { if(err) response(err.message); else response(data); }); }); var wsServer = ws.createS
æè¿ã[twitter:@suer]ã[twitter:@mallowlabs]ã[twitter:@shimomura1004]ã¨å¤ãªå¤ãªSkypeã§ãã£ããããªããã½ããã¦ã§ã¢éçºããã¦ããã§ãããã ãã ãã¨Skypeãã£ããã®æ©è½ã«å¯¾ããä¸æºãæºã£ã¦ãã¾ããã ã¨ããããã§ãSkypeãã£ããããªãã¬ã¼ã¹ãã¹ãWebãã£ããã·ã¹ãã ãä½ã£ã¦ã¿ã¾ããã éçºè ã«ã¨ã£ã¦ãããã¼ãªæ©è½æºè¼ãªã®ã§ãæ¯é使ã£ã¦ã¿ã¦ãã ããã âå ¬éãµã¤ã Skypeã®ä¸æºç¹ å ¨ææ¤ç´¢ãã§ããªãã®ã§ãéå»ã®çºè¨ãæ¢ãã®ãé¢å ã³ã¼ãããã¤ã©ã¤ããããªã #42ã¨æ¸ãã¦ãRedmineã®ãã±ããã«ãªã³ã¯ãã¦ãããªãâ AsakusaSatelliteã®ç¹å¾´1: æ®éã«ã¤ããã æè¿ã®Chromeã¯ãã£ããåã㦠ãªã¢ã«ã¿ã¤ã ãªçºè¨æ´æ° ãã¹ã¯ãããéç¥ D&Dã«ãããã¡ã¤ã«ã¢ãããã¼ã ãå¹³æ°ã§ã§ãã¦ãã¾ãã¾ãã
HyBi Working Group I. Fette Internet-Draft Google, Inc. Intended status: Standards Track October 17, 2010 Expires: April 20, 2011 The WebSocket protocol draft-ietf-hybi-thewebsocketprotocol-03 Abstract The WebSocket protocol enables two-way communication between a user agent running untrusted code running in a controlled environment to a remote host that has opted-in to communications from that co
ãã3ãµæè¿ãåã§ãããWebSocketãããã³ã«ã®Draft76ãå ¬éããã¾ããããã®Draft76ã§ã¯ãããã¾ã§ã®Draft75ã¨ãã³ãã·ã§ã¤ã¯ã®å 容ãå¤ãã£ã¦ãã¾ããã draft-hixie-thewebsocketprotocol-76 - The WebSocket protocol ã¨ãããã¨ã§ãæ°ããä»æ§ã¨Pythonã®åå¼·ãã¦ãã«echoãµã¼ãã¼ãæ¸ãã¦ã¿ã¾ããï¼å®è¡ç°å¢ã¯ä»¥ä¸ã®éãã§ãã Mac OS X 10.6.4 Python 2.6.1 Chrome 6.0.472.4 Firefox 4 β1 以ä¸ããµã¼ãã¼å´ã®ã½ã¼ã¹ã³ã¼ã(WSP76_echo.py)ã§ããgithubã¨ã使ããï¼ã£ã¦æãã¯ãã¾ããããã ã®ãµã³ãã«ãªã®ã§é¢åãã(ry #!/usr/bin/env python #-*- coding:UTF-8 -*- from optparse imp
Moved to https://websockets.spec.whatwg.org/
ä¸é¨ãç´è¨³ã§ã¯ãªãæ訳ããé¨åããããã¾ããåæã¨è¡¨ç¾ãç°ãªããã¨ããããã¾ãã®ã§ããäºæ¿ãã ããããã®æ¥æ¬èªè¨³ã¯ãç§ãç解ãæ·±ããããã«ãèªåãªãã«æ¥æ¬èªåãããã®ã§ããæ¬æ¥æ¬èªè¨³ã«ã¯ã翻訳ä¸ã®èª¤ããããå¯è½æ§ãããã¾ãããããã£ã¦ãå 容ã«ã¤ãã¦ä¸åä¿è¨¼ããããã®ã§ã¯ããã¾ãããæ£ç¢ºããæ±ããå ´åã«ã¯ãå¿ ãåæãåç §ãã¦ãã ãããå½æ¹ã¯ããã®ææ¸ã«ãã£ã¦å©ç¨è ã被ããããªãæ害ã®è²¬ä»»ãè² ãã¾ããããã誤ããªã©ãè¦ã¤ããããå½ãµã¤ãã®ãåãåããããé£çµ¡ããã ããã°å¹¸ãã§ãã åé¡ï¼The WebSocket API W3C Working Draft 29 September 2011 åæï¼http://www.w3.org/TR/2011/WD-websockets-20110929/ 翻訳æ¥ï¼2011/10/06 æçµæ´æ°æ¥ï¼2011/10/06 æ¦è¦ WebSocket ã¯ãJa
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}