Protocol

WebSocket

WebSocket is a protocol located at layer 7 of the OSI Model, so the Application Layer, similar to HTTP.

WebSocket vs. HTTP?

WebSocket is a protocol providing Full-Duplex communication channels over a single TCP connection, whereas HTTP provides Half-Duplex communication.

Oh, is this the same as a Socket? No. Socket is just an interface, which is exposed through a port.

Resources