Cool stuff! 2012/9/12 Sven Van Caekenberghe <[email protected]>
> Hi, > > I am pleased to announce the first public release of Zinc WebSockets, an > implementation of client and server RFC 6455 regular (ws://) and secure > (wss://) WebSockets on top of Zinc HTTP Components and Zodiac TLS/SSL > Streams. > > High level documentation can be found here: > > https://github.com/svenvc/docs/blob/master/zinc/zinc-websockets-paper.md > > The code can be found in the regular Zinc repositories, or can be loaded > using Metacello: > > ConfigurationOfZincHTTPComponents project latestVersion load: > 'WebSocket'. > > Three examples are included and explained in the high level documentation: > > 1. a trivial echo service > > - each incoming message is simply echoed back to the client > > 2. a simple chatroom > > - each client opens a web socket to the chatroom service running on the > server > - the server keeps track of all connected client web sockets > - when a message comes in from any client it is distributed to all clients > - each client shows all incoming messages > > 3. a simple, continously updated status view > > - a client connects and listens for incoming messages containing a status > report > - the server streams status reports to each connected client every second > - in the web browser you get to see the Smalltalk image's clock, memory > and process stats > > Tested and approved on 2.0 #281. Portability to 1.3 and 1.4 should be OK. > > The implementation of Zinc WebSockets was made possible in part through > financial backing by Andy Burnett of Knowinnovation Inc. and ESUG. Thanks! > > Questions, remarks, feedback ? Please use the Pharo Smalltalk mailing > lists. > > Sven > > -- > Sven Van Caekenberghe > http://stfx.eu > Smalltalk is the Red Pill > > > > >
