Hacker News new | past | comments | ask | show | jobs | submit login

Firefox has had support for raw sockets in web applications since its inception. Unfortunately, it's platform specific, it's ugly as hell and, from what I can tell, a pain to give it permissions.



https://en.wikipedia.org/wiki/WebSocket

TCP sockets in Javascript are getting standardized.


Those aren't pure TCP sockets, though, since the server needs to support WS handshaking. You can't, e.g. write an IRC client that connects directly to IRC servers.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: