Hi,

Yesterday I deployed a live demo of Zinc-WebSockets

  http://websocket.stfx.eu

Since most proxies and load balancers, most notably Apache, don't handle the 
WebSocket protocol very well, the only solution is to arrange for direct 
connections to the Smalltalk image.

Deploying and running this code in your own image is pretty easy:

  ConfigurationOfZincHTTPComponents project latestVersion load: 'WebSocket'.

  ZnServer startDefaultOn: 1701.
  ZnWebSocketDelegate installExamplesInDefaultServer.

Then open http://localhost:1701/ws-demo with your browser.

Sven

PS: You can read more about Zinc-WebSockets here

  https://github.com/svenvc/docs/blob/master/zinc/zinc-websockets-paper.md

PS: This demo, like the standard Zn and SSO demos run in the very latest Pharo 
2.0 version

  http://zn.stfx.eu/status
  http://sso.stfx.eu/status
  http://websocket.stfx.eu:9999/status
  http://websocket.stfx.eu:9999/ws-status-client

--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill


Reply via email to