PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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: wd270awws.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment