IP*Works! IPC - Online Help
Available for:
IP*Works! IPC
Questions / Feedback?

Connections Property

A collection of currently connected clients.

Syntax

[VB.NET]
Public ReadOnlyProperty Connections As PipeConnectionMap

[C#]
public PipeConnectionMap Connections {get;}

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)

foreach (Connection c in pipeserver1.Connections.Values) {
  c.DataToSend = "Broadcast Data";
}

This property is read-only.

Default Value

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0