Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises


Asynchronous APIs





WebSockets

True browser-server two-way comms (push-pull).
  

WebSockets with Node

A typical use of WebSockets is with Node.js, and JS on client and server, as follows:

  


Websockets demos

Live Websockets demos on Ancient Brain.
  

Click to run World: Websocket buttons at Ancient Brain.
  

Click to run World: Websocket chat at Ancient Brain.
  

Click to run World: Websockets boxes at Ancient Brain.

  
ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.      New 250 G VPS server.

Note: Links on this site to user-generated content like Wikipedia are highlighted in red as possibly unreliable. My view is that such links are highly useful but flawed.