kiss9815 / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

feature request: websockets #294

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now I'm resorting to libwebsockets instead, and it's just not as good as 
mongoose for everything else.  Is there any interest in supporting this?

http://dev.w3.org/html5/websockets/

Typed Arrays might be an issue, and possibly the http upgrade process.

Original issue reported on code.google.com by kbrani...@gmail.com on 11 Nov 2011 at 5:52

GoogleCodeExporter commented 9 years ago
I'm definitely interested in this.

I could see Mongoose's threading being an issue--would each websocket session 
consume a thread?

Original comment by jnor...@logitech.com on 18 Apr 2012 at 6:47

GoogleCodeExporter commented 9 years ago
Also interested on this!

Original comment by gogop...@gmail.com on 14 Sep 2012 at 12:27

GoogleCodeExporter commented 9 years ago
It looks like this feature is getting a lot of interest. Bumping up the 
priority, and moving to https://github.com/valenok/mongoose/issues/27

Original comment by valenok on 14 Sep 2012 at 1:20

GoogleCodeExporter commented 9 years ago
Excellent, thanks!

Original comment by jeroen.w...@gmail.com on 14 Sep 2012 at 1:24

GoogleCodeExporter commented 9 years ago
Definitely appreciate it.  I can help test/implement this if you need a hand.

Original comment by jnor...@logitech.com on 14 Sep 2012 at 1:56

GoogleCodeExporter commented 9 years ago
I've implemented a first iteration of the functionality, 
https://github.com/valenok/mongoose
To see an example, checkout the code, then "cd examples && make && ./websocket"
Go to http://127.0.0.1:8080

It is crude at the moment. Client has to create, read and parse websocket 
frames on it's own.
Suggestions on the API are welcome.

Original comment by valenok on 19 Sep 2012 at 11:29