ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / WebSocket
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
WebSocketListConnectedUser (Function)
In french: WebSocketListeClientConnecté
Lists the clients connected to the WebSocket server.
Example
// Retrieve list of clients
arrClients is array of websocketClient = WebSocketListConnectedClient()
// To send a message to each client
FOR EACH Client OF arrClients
WebSocketSend(Client, bufMessage)
END
Syntax
<Result> = WebSocketListUser()
<Result>: Array
Array of websocketClient variables that corresponds to the clients connected at the time of calling the function. New clients that connect to the server will not be added to the array. Clients that disconnect from the server will not be deleted.
Component: wd290awws.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help