From professional translators, enterprises, web pages and freely available translation repositories.
node-socket.io: makes websockets and realtime possible in all browsers, 871 days in preparation, last activity 180 days ago.
node-socket.io: makes websockets and realtime possible in all browsers, работа начата 871 дней назад, последняя активность 181 дней назад.
since the page shows websockets based features, you’ll need a websockets enalbed browser, such as google chrome or mozilla firefox. ipad and iphone also fit well with the task.
Поскольку страница показывает возможности сервиса через websockets, при просмотре необходимо использовать браузеры, поддерживающие эту технологию, такие как google chrome или mozilla firefox. ipad и iphone также отлично справятся с задачей.
// when the connection is open, send some data to the server connection.onopen = function () { connection.send('ping'); // send the message 'ping' to the server }; // log errors connection.onerror = function (error) { console.log('websocket error ' + error); }; // log messages from the server connection.onmessage = function (e) { console.log('server: ' + e.data); };
// when the connection is open, send some data to the server connection.onopen = function () { connection.send('ping'); // send the message 'ping' to the server }; // log errors connection.onerror = function (error) { console.log('websocket error ' + error); }; // log messages from the server connection.onmessage = function (e) { console.log('server: ' + e.data); };