Skip to content

Instantly share code, notes, and snippets.

@armanhakimsagar
Last active August 27, 2018 13:18
Show Gist options
  • Select an option

  • Save armanhakimsagar/da7185f7faa39f47a77d7c9c3cd6b638 to your computer and use it in GitHub Desktop.

Select an option

Save armanhakimsagar/da7185f7faa39f47a77d7c9c3cd6b638 to your computer and use it in GitHub Desktop.
socket terms :
channel :
pusher called it channel
google called it topic.
connection name with socket server.
broadcasting :
when any changes happens in server it
broadcast it in socket server.
laravel echo :
client side js library.
after broadcast it in socket server it received by client
by laravel echo
socket programming :
Sockets are used for interprocess communication. Interprocess communication is generally
based on client-server model. In this case, client-server are the applications that interact with each other.
Interaction between client and server requires a connection. Socket programming is responsible for establishing that
connection between applications to interact.
socket server :
it track changes in web server.
we will request socket server for feedback any changes.
It handle broadcast > echo > channel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment