926 new features of WINDEV 26, WEBDEV 26 and WINDEV Mobile 26

770 N e w f e a t u r e W D W B WM WEBSOCKET PROGRAMMING New events are introduced to program WebSock- ets in server code. • Connection of a new client • Receiving data from a client • Disconnection of a client. A "client" is, for example, a session of a web user. New WLanguage functions have also been intro- duced. To write to the client, simply use the new Web- SocketSend function. The new websocketClient WLanguage type contains information about the connected client: IP, ... The new WebSocketListConnectedUser function returns an array containing a list of all connected clients. The following elements can trigger the sending of a WebSocket: a trigger, a data modification detected by HTrack , a WebSocket sent to another server, the presence of a new file on the disk, or a trigger in the new GlobalService event exe- cuted on the server in a loop. By using WebSockets, you limit the web server load. Benefit provided by this new feature of version 26: Easy programming EXAMPLES OF EASILY- ACHIEVABLE PROCESSES • collaborative work • chat/video call system • multiplayer gaming No more timers consuming band- width and over- loading the server WEBSOCKET SERVER 81 WINDEV 26 WEBDEV 26 WINDEV Mobile 26 New features