To maximize Node.js socket based application's portability to browser, I would like to see an identical interface between sockets. The current websock.js interface is somewhat messed up, and I think it's sufficient to only expose the traditional read-write interface only instead of the complicated queues, as the other end would be using websockify proxy and it's nothing more than a classic socket.
There's a reference implementation for the sockets interface itself, and we should be possible to implement it with minimal effort.
To maximize Node.js socket based application's portability to browser, I would like to see an identical interface between sockets. The current websock.js interface is somewhat messed up, and I think it's sufficient to only expose the traditional read-write interface only instead of the complicated queues, as the other end would be using websockify proxy and it's nothing more than a classic socket.
There's a reference implementation for the sockets interface itself, and we should be possible to implement it with minimal effort.