Hi and welcome to the forum.
A Phoenix.Socket is a module that ties a communication transport layer to Phoenix.Channels that handle real-time communication between clients and Elixir processes (live LiveViews). It’s an abstracted transport layer that can communicate over native websockets but can fall back to longpolling mechanisms if needed. So you’re able to develop real-time communications in exactly the same way irrespective of the connection, and can even implement your own transport layer through the Phoenix.Socket.Transport behaviour.






















