IPWorks IPC 2020 Delphi Edition

Questions / Feedback?

Connections Property

A collection of currently connected clients.

Syntax

property Connections: TiipPipeConnectionList read get_Connections;

Remarks

This property contains a collection of currently connected clients. All of the connections may be managed using this property. Each connection is described by the different fields of the PipeConnection type.

This collection is a hashtable type of collection, in which the Connection Id string is used as the key to the desired connection. The Connected event fires when a client connects and provides the Connection Id (key) that identifies the client.

Example (Broadcasting Data)

For i = 0 to Control.ConnectionCount
  Control.DataToSend(Control.ConnectionId(i)) = "Broadcast Data"
Next i

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IPC 2020 Delphi Edition - Version 20.0 [Build 8155]