Web Sockets

WebSocket is an API built on top of TCP sockets and a protocol for bi-directional, full-duplex communication between client and server without the overhead of HTTP.

63 votes
4 answers
2.8K views
WebSockets ping/pong, why not TCP keepalive?

WebSockets have the option of sending pings to the other end, where the other end is supposed to respond with

avatar
Sena
0 1 0 9
asked 07 September, 2021
50 votes
2 answers
1.2K views
What is difference between grpc and websocket? Which one is more suitable for bidirectional streaming connection?

I want to develop a client-server application in a bi-directional streaming manner. what is more suitable tec

avatar
Stacia
0 1 0 9
asked 07 September, 2021
53 votes
2 answers
386 views
differences between webhook and websocket

I've always wanted to do a real-time chat. I've done that years ago in PHP+Ajax+Mysql and broke my

avatar
Yolando
0 1 0 9
asked 07 September, 2021
56 votes
3 answers
1.5K views
Faye vs. Socket.IO (and Juggernaut)

Socket.IO seems to be the most popular and active WebSocket emulation library. Juggernaut uses it to create a

avatar
Lorenzo
0 1 0 9
asked 07 September, 2021
65 votes
8 answers
2.8K views
How to construct a WebSocket URI relative to the page URI?

I want to construct a WebSocket URI relative to the page URI at the browser side. Say, in my case convert HTTP

avatar
Thurman
0 1 0 9
asked 07 September, 2021
60 votes
1 answers
2K views
Differences between websockets and long polling for turn based game server

I am writing a server for an iOS game. The game is turn-based and the only time the server needs to push infor

avatar
Karolyn
0 1 0 9
asked 07 September, 2021
53 votes
3 answers
1.4K views
Loadbalancing web sockets

I have a question about how to load balance web sockets. I have a server which supports web sockets. Browsers

avatar
Ali
0 1 0 9
asked 07 September, 2021
50 votes
4 answers
315 views
What is the difference between WebSocket and STOMP protocols?

What are the major differences between WebSocket and STOMP protocols?

avatar
Frederick
0 1 0 9
asked 07 September, 2021
50 votes
4 answers
1.5K views
WebSocket with SSL

Is it possible to have WebSockets with HTTPS? When switching to HTTPS, my WebSocket returns a security error

avatar
Corrin
0 1 0 9
asked 07 September, 2021
66 votes
5 answers
2K views
Maximum concurrent Socket.IO connections

This question has been asked previously but not recently and not with a clear answer. Using Socket.io, is the

avatar
Lynette
0 1 0 9
asked 07 September, 2021
58 votes
4 answers
1.5K views
What is the fundamental difference between WebSockets and pure TCP?

I've read about WebSockets and I wonder why browser couldn't simply open trivial TCP connection and

avatar
Tuan
0 1 0 9
asked 07 September, 2021
60 votes
12 answers
1.9K views
Debugging WebSocket in Google Chrome

Is there a way, or an extension, that lets me watch the "traffic" going through a WebSocket? For debugging pur

avatar
Vi
0 1 0 9
asked 07 September, 2021
55 votes
6 answers
383 views
Difference between socket and websocket?

I'm building web app that needs to communicate with another application using socket connections. This is

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
66 votes
9 answers
1.9K views
Does HTTP/2 make websockets obsolete?

I'm learning about HTTP/2 protocol. It's a binary protocol with small message frames. It allows stre

avatar
Sena
0 1 0 9
asked 07 September, 2021