ServerSocket.ActiveConnections

From Xojo Documentation

Method

ServerSocket.ActiveConnections() As TCPSocket()

New in 2005r1

Supported for all project types and targets.

Gets the array of active sockets managed by the ServerSocket. Returns an array of TCPSockets. These are the TCPSockets that were added via the AddSocket event and are now connected.

Example

This example gets the array of connections. The array was declared as a property of the window.

Var ms() As TCPSocket
ms = mServerSocket.ActiveConnections