Has anyone an ideea how to push a message from the server to the client browser running a UniGui app ?
No Pooling please !.
I have test it with these components: http://websockets.esegece.com/
The Server is only a component.
In Servermodule -Customfiles i add this line: http://127.0.0.1:12345/sgcWebSockets.js In Mainform SCRIPT add the script
<script> var socket = new sgcWebSocket('ws://127.0.0.1:12345'); socket.on('open', function(event) { console.log('OPEN'); }); socket.on('close', function(event) { ajaxRequest(MainForm.window,'Closed', []); }); socket.on('error', function(event) { ajaxRequest