# Websockets WebSockets are a protocol that allows full-duplex communication between a client and a server over a single, long-lived connection. They are useful when real-time communication is needed, such as in chat applications, online gaming, or financial trading platforms. React Native ships with a built-in `WebSocket` implementation that follows the same API as the browser. Visit the following resources to learn more: - [@official@Networking: WebSocket Support](https://reactnative.dev/docs/network) - [@article@The WebSocket API (WebSockets) - Web APIs](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API) - [@article@WebSocket vs HTTP: Which Protocol Should You Use?](https://roadmap.sh/network-engineer/websocket-vs-http) - [@article@WebSocket vs. SSE: Full Comparison for Real-Time Apps](https://roadmap.sh/network-engineer/websocket-vs-sse)