Why one required to implement websocket specification to transfer binary data?

89 views Asked by At

I am bit confused. I have been looking websocket sometime now. Still there is a tiny confusion.

1) websocket anyhow uses TCP/IP underneath to transport the data to and from client and server. The format of the data could be 'binary' too.

Here are few examples I have victimed.

Streaming Binary with Node.js and WebSockets

Question:

Now, there are some tools like websockify ( https://github.com/kanaka/websockify ) , implemented websocket protocol itself, and does the binary transfer. How does this websockify differ from directly sending binary data after reading from TCP/IP server?.

0

There are 0 answers