Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Socket.IO Cookbook

You're reading from  Socket.IO Cookbook

Product type Book
Published in Oct 2015
Publisher Packt
ISBN-13 9781785880865
Pages 184 pages
Edition 1st Edition
Languages
Author (1):
Tyson Cadenhead Tyson Cadenhead
Profile icon Tyson Cadenhead
Toc

Table of Contents (15) Chapters close

Socket.IO Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Wiring It Up 2. Creating Real-Time Dashboards 3. Having Two-Way Conversations 4. Building a Room with a View 5. Securing Your Data 6. Performing a Load Balancing Act 7. Streaming Binary Data 8. Integrating with Mobile Applications Index

Index

A

  • Advanced Message Queuing Protocol (AMQP)
    • about / Using RabbitMQ to message events across nodes
  • Amazon S3
    • image, uploading / Uploading an image to Amazon S3, How to do it…, How it works…
  • Apache Cordova
    • about / Throwing an alert when the socket connects
  • audio
    • streaming / Streaming audio, How to do it…

B

  • basic authentication
    • implementing / Implementing basic authentication, How to do it…, How it works…

C

  • chat channels
    • creating, with namespaces / Creating chat channels with namespaces, How to do it…, How it works…
  • chat room
    • creating / Creating a simple chat room, Getting ready, How to do it…, There's more…
  • client
    • debugging / Debugging on the client, Getting ready, There's more…
  • connection timeouts
    • handling / Handling connection timeouts, How to do it…, How it works…
  • Cordova app
    • alerting, when socket connects / Throwing an alert when the socket connects, How to do it…, How it works…
    • data, pushing up from server / Pushing up data from the server, How to do it…, How it works…
    • tap events, responding to / How to do it…
    • server-side pagination, creating / Getting ready, How to do it…, How it works…
    • hot deploys, triggering / Triggering hot deploys, How to do it…, How it works…
  • cross-browser WebSocket
    • Socket.IO, using as / Using Socket.IO as a cross-browser WebSocket, How to do it…, How it works…, There's more…

D

  • debugging
    • on client / Debugging on the client, How to do it…, There's more…
    • on server / Debugging on the server, How it works…
  • default room
    • setting up / Setting up a default room, How to do it…, How it works…

E

  • Express server
    • creating, with Socket.IO / Creating an Express server with Socket.IO, How to do it…, How it works…

F

  • filesystem
    • image, uploading / Uploading an image to the filesystem, How to do it…

H

  • hot deploys
    • triggering / Triggering hot deploys, How to do it…, How it works…
  • HTTP referrer
    • locking down / Locking down the HTTP referrer, How to do it…, How it works…

I

  • image
    • broadcasting / Broadcasting an image to other sockets, Getting ready…, How to do it…, How it works…
    • uploading, to filesystem / Uploading an image to the filesystem, How to do it…
    • uploading, to Amazon S3 / Uploading an image to Amazon S3, How to do it…, How it works…

J

  • JSON Web Tokens (JWT)
    • about / Performing token-based authentication

L

  • live video
    • streaming / Streaming live video, How to do it…, How it works…
  • load balancing
    • performing, with Nginx server / Performing load balancing with the Nginx server, Getting ready, How it works…

M

  • Memcached
    • used, for managing multiple nodes / Using Memcached to manage multiple nodes, How to do it…, How it works…
    • URL / Getting ready
  • messages
    • sending, to sockets / Sending messages to all the sockets, except for the sender, How to do it…, How it works…
  • MongoDB
    • data, loading / Loading data from MongoDB, How to do it…, How it works…
    • URL / Getting ready
    • installing / Getting ready
  • multiplayer tic-tac-toe game
    • building / Building a multiplayer tic-tac-toe game, How to do it…, How it works…

N

  • namespaces
    • about / Creating chat channels with namespaces
    • chat channels, creating / Creating chat channels with namespaces, How to do it…, How it works…
  • Nginx server
    • load balancing, performing / Performing load balancing with the Nginx server, Getting ready, How it works…
  • Node.js
    • URL / Getting ready
    • installing / Getting ready
  • Node.js cluster
    • using / Using the Node.js cluster, How to do it…
  • Node HTTP server
    • creating, with Socket.IO / Creating a Node HTTP server with Socket.IO, How to do it…, There's more…
  • nodes
    • events passing, Redis used / Using Redis to pass events between nodes, How to do it…, How it works…
    • managing, Memcached used / Using Memcached to manage multiple nodes, How to do it…, How it works…
    • events, messaging with RabbitMQ / Using RabbitMQ to message events across nodes, How to do it…, How it works…

P

  • Pem
    • about / Getting ready
  • private message
    • emitting, to another socket / Emitting a private message to another socket, Getting ready, How to do it…, How it works…
  • private rooms
    • creating / Creating private rooms, Getting ready, How to do it…, How it works…

R

  • RabbitMQ
    • used, for messaging events across nodes / Using RabbitMQ to message events across nodes, How to do it…, How it works…
    • URL / Getting ready
  • real-time dashboards
    • creating / Introduction
    • static data, loading from server / Loading static data from the server, How to do it…, How it works…, There's more…
    • server-side clock, creating / Creating a server-side clock, How to do it…, How it works…
    • data, loading from MongoDB / Loading data from MongoDB, How to do it…, How it works…
    • real-time count of users, displaying / How to do it…, How it works…
    • connection timeouts, handling / Handling connection timeouts, How to do it…, How it works…
  • Redis
    • used, for passing events between nodes / Using Redis to pass events between nodes, How to do it…, How it works…
    • URL / Getting ready
  • rooms
    • joining / Joining rooms, How to do it…
    • leaving / Leaving rooms, How to do it…, How it works…
    • listing / Listing rooms the socket is in, How to do it…, How it works…

S

  • secure WebSockets
    • using / Using secure WebSockets, Getting ready, How to do it…, How it works…
  • server
    • debugging / Debugging on the server, How it works…
  • server-side clock
    • creating / Creating a server-side clock, How to do it…, How it works…
  • server-side pagination
    • creating / Doing server-side pagination, How to do it…
    • performing / How it works…
  • server-side validation
    • handling / Handling server-side validation, How to do it…, How it works…
  • Socket.IO
    • about / Introduction
    • advantages / Introduction
    • Node HTTP server, creating / Creating a Node HTTP server with Socket.IO, How to do it…, How it works…, There's more…
    • Express server, creating / Creating an Express server with Socket.IO, How to do it…, How it works…
    • using, as cross-browser WebSocket / Using Socket.IO as a cross-browser WebSocket, How to do it…, How it works…, There's more…
  • socket.io.js file
    • URL / How it works…
  • socket life cycle
    • managing / Managing the socket life cycle, How it works…
  • sockets
    • messages, sending to / Sending messages to all the sockets, except for the sender, How to do it…, How it works…
  • static data
    • loading / Loading static data from the server, How to do it…, How it works…, There's more…

T

  • tap events
    • responding to, from device / Responding to tap events from the device, How to do it…
  • token-based authentication
    • performing / Performing token-based authentication, How to do it…, How it works…
  • Transmission Control Protocol (TCP)
    • about / Introduction

W

  • Web Real-Time Communication (WebRTC)
    • about / Streaming audio
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}