サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
衆院選
socket.io
We are happy to announce the release of Socket.IO v3! Migration guideThis release contains a few non backward compatible changes. We have published a dedicated migration guide with all necessary details. Why Socket.IO in 2020?That's an excellent question actually. Depending on your use case, it might make sense to use plain WebSocket directly: client: MDN, Can I use?server: ws or eiows in the No
This is documentation for Socket.IO 3.x, which is no longer actively maintained. When deploying multiple Socket.IO servers, there are two things to take care of: enabling sticky session, if HTTP long-polling is enabled (which is the default): see belowusing the Redis adapter (or another compatible Adapter): see belowSticky load balancingIf you plan to distribute the load of connections among diff
Today were very happy to introduce Socket.IO P2P, the easiest way to establish a bidirectional events channel between two peers with a server fallback to provide maximum reliability. Lets look at the API and build a little chat application. Or check out the repository directly! Socket.IO P2P provides an easy and reliable way to setup a WebRTC connection between peers and communicate using the sock
What you see above is a multiplayer version of the classic Snake game with a twist: whenever possible, it will automatically establish a peer-to-peer connection with your opponent. Today we’re very happy to introduce Socket.IO P2P, the easiest way to establish a bidirectional events channel between two peers with a server fallback to provide maximum reliability. Let’s look at the API and build a l
I'm really proud to announce the first release of the Socket.IO C++ Client on GitHub! Based on Boost and WebSocket++, this full-featured Socket.IO 1.0 client has the fundamental advantage of working on multiple platforms. Check out the directory of examples. It contains examples of iOS, QT, and CLI chat clients! To learn how to use this client, I put together a QT chat example that communicates us
We are pleased to announce the immediate availability of the Socket.IO Swift Client! Youll now be able to write code that runs natively on iOS and OSX, while maintaining the simplicity and expressiveness of the JavaScript client! import Foundation let socket = SocketIOClient(socketURL: "localhost:8880") socket.on("important message") {data, ack in println("Message for you! \(data?[0])") ack?("I go
In this tutorial well learn how to create a chat client that communicates with a Socket.IO Node.JS chat server, with our native Android Client! If you want to jump straight to the code, it's on GitHub. Otherwise, read on! IntroductionTo follow along, start by cloning the repository: socket.io-android-chat. The app has the following features: Sending a message to all users joining to the room.Noti
Server Socket.IO 1.3.0 is out with lots of fixes, in addition to stability and performance improvements. You can also now configure the clients with custom SSL and reconnection backoff parameters. Fix tests on Node v0.11 (dba462) [rauchg] Fixed socket.io test runs on windows (19c442) [rauchg] null and undefined origins trigger the origins callback properly with origin value * (GH#1936) [drewblaisd
Socket.IO 1.2.0 is now live with important bug fixes and a few API updates. We couldn’t have made this happen without the help of old and new contributors. A big hand to everyone who participated in the making of this release. Thank you! Below you can find more details on the changes and some code examples. Server Fixed the npm main property in the chat example (GH#1766) [BrianGeppert] Some gramma
Today we pushed version 1.1.0 of Socket.IO with a lots of bug fixes and some new additions. This release comes thanks to the work of more than 20 contributors. Server hasBin no longer iterates over object prototypes (GH#1645) [kevin-roark] Enhanced font styles in the chat example app (GH1653) [acusti] Fixed etag header in server socket.io.js (GH#1655) [ysmood] Fixed repo url in package.json (GH#16
Support Socket.IO Within each Namespace, you can define arbitrary channels called “Rooms” that sockets can join and leave. This is useful to broadcast data to a subset of sockets: Joining and leavingYou can call join to subscribe the socket to a given channel:
If you are new to Socket.IO, we recommend checking out our tutorial. What Socket.IO isSocket.IO is a library that enables low-latency, bidirectional and event-based communication between a client and a server. The Socket.IO connection can be established with different low-level transports: HTTP long-pollingWebSocketWebTransportSocket.IO will automatically pick the best available option, depending
In this guide we’ll create a basic chat application. It requires almost no basic prior knowledge of Node.JS or Socket.IO, so it’s ideal for users of all knowledge levels. IntroductionWriting a chat application with popular web applications stacks like LAMP (PHP) has normally been very hard. It involves polling the server for changes, keeping track of timestamps, and it’s a lot slower than it shou
The first version of Socket.IO was created shortly after Node.JS made its first appearance. I had been looking for a framework that easily enabled me to push data from a server to a client for a long time, and even had tried other approaches to server-side JavaScript. At the time, the main focus was on an interface equivalent to the upcoming WebSocket API that was in the process of standardization
Socket.IOBidirectional and low-latency communication for every platform PerformantIn most cases, the connection will be established with WebSocket, providing a low-overhead communication channel between the server and the client. ReliableRest assured! In case the WebSocket connection is not possible, it will fall back to HTTP long-polling. And if the connection is lost, the client will automatical
このページを最初にブックマークしてみませんか?
『Socket.IO: the cross-browser WebSocket for realtime apps.』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く