News for hackers. Stuff that matters.
Re:Direct Sockets API in Chrome 131 by noduerme on Saturday November 02, 2024 @03:59AM (#42024791)
Can you explain further... how does this improve upon websockets and socketIO for node?
Re:Direct Sockets API in Chrome 131 by arlort on Saturday November 02, 2024 @04:52AM (#42025000)
Without a middleman you can only use web socket to connect to an http server.

So, for instance if I want to connect to an mqtt server from a webpage I have to use a server that supports websocket endpoint. With direct sockets I could connect to any server using any protocol