by chewxy · 14y ago · 0 comments
If you want a client-side app that uses TCP, why must you do it over the web? The appeal of write-once-run-everywhere?
It's not entirely bogus, just mostly so. I really dislike this whole "the internet == the web" way of thinking, though.
So it's really more like a NAT bridge.
WebBrowser --- data ---> WebTCP bridge (translate data to servers) --- data ---> redis/rabbitmq/any_tcp(and i think udp also possible?)_server_even_smtp
We really need to stop reinventing the wheel
Pub/sub is well catered for by socket.io (websockets).
This glue belongs on the server.
If I did need arbitrary TCP connections my first thought would be a websocket proxy...