Hello! WebSocket's in Wt were introduced in this blog post: http://www.webtoolkit.eu/wt/blog/2010/11/30/wt_3_1_7__jwt_3_1_7
They can be used for client-server communication instead of normal ajax requests. Advantages (from my experience): + lower delays for small queries (1-2 kb) Disadvantages (from my experience): - higher delays for large requests (because no compression is applied by Wt to data transfered through websocket). - harder to debug (in Chmore developer tools each normal ajax request was shown separately and all websocket messages are in one scope) - WebSocket messages are not logged by my webserver by default. - harder to use with some web-servers (nginx for example). But there are alternative web-servers (haproxy for example) that can websocket. Haproxy+Nginx seems to be the best variant to use Wt+WebSocket, if you still want. - bugs, hard to debug: hangs, unable-to-connect, etc Number of requests: + total number of requests is lower in WebSocket mode - number of pending requests is higher in WebSocket mode (but equal if server-initiated events are used (wApp->enableUpdates()) On Tue, Dec 25, 2012 at 7:03 PM, Mohammed Rashad <mohammedrasha...@gmail.com> wrote: > If this is a simple question. please ignore it. > Can anyone explain me Web Sockets in Wt?. Upto what extent web sockets are > supported in Wt? How they are beneficial > > -- > Regards, > Rashad > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest