WebSocket is a communication protocol for full-duplex communication channels over a single TCP connection.
WebSocket connections allow for real-time data transfer where the the server sends content to the browser continuously without additional client requests.
Messages can be sent to be passed back and forth while keeping the connection open, allowing for two-way communication between the client and the server.
Webbsockets use TCP to communicate over ports 80 for HTTP and 443 for TLS.