I am trying to create a chrome extension using HTML5 WebSockets and can't get a clear example. I have a few questions that I hope the community can answer for me in a clear and concise manner.
I have done quite a bit of Google searching so its not like I don't know anything about this topic. I just don't understand all the different things and the websocket API does not give a definition of any of its functions and doesn't really explain anything about how to use it.
Some Links I have checked out: http://dev.w3.org/html5/websockets/ , http://jnext.org/index.html , http://www.pusher.com/ , http://jwebsocket.org/ , http://joshuakehn.com/blog/view/2/WebSocket-Tutorial-with-Node-js
I need something that does not need to be installed onto a computer. All server/client/coding needs to be javascript that can be placed into a chrome extension. Thank you for anyone who can help me.
It seems like you're saying you want to run a websocket server on the client? That's not going to be possible. You can't launch processes on a user's machine from a browser.
ws indicates to use the web sockets protocol just like http indicates to use hyper text transfer protocol or ftp indicates to use file transfer protocol.
Pusher is a service that hosts and runs a web socket server for you. You could also write your own web socket server and install it on your own server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With