ServerSocket.ActiveConnections

From Real Software Documentation

Jump to: navigation, search
Method
ServerSocket.ActiveConnections ( ) As TCPSocket()

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.

dim ms() as TCPSocket
ms()=mServerSocket.ActiveConnections()
Personal tools