サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
iPhone 17
qiita.com/jabberwocky3376
var http = require("http"); var server = http.createServer(function(req,res) { res.write("Hello World!!"); res.end(); }); // socket.ioの準備 var io = require('socket.io')(server); // クライアント接続時の処理 io.on('connection', function(socket) { console.log("client connected!!") // クライアント切断時の処理 socket.on('disconnect', function() { console.log("client disconnected!!") }); // クライアントからの受信を受ける (socket.on) socket.on
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
このページを最初にブックマークしてみませんか?
『qiita.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く