Ask coding questions

← Back to all posts
Sockets vs Web sockets
IMayBeMe (455)

So recently I have been working on a project utilizing web sockets for sending and receiving data from the server. My main question here is the difference between sockets and web sockets, more specifically on how they function just to get a better understanding for my project.

Answered by Coder100 (18057) [earned 5 cycles]
View Answer
Coder100 (18057)

you could read this:

but the thing is
don't use sockets
use websockets

sockets are if you want more control over what happens, which you probably don't.
at least I never did