--
Sincerely,
Alex Granovsky (a...@uk2.net)
Doesn't seem like there are any appserver functions for this, but it's quite
easily implementable. Simply drop a provider on your RDM that returns the
number in an OnGetData handler (create a field, type ftInteger, and return a
global variable that stores the refcount, incremented or decremented in your
RDM unit's on connect)
remember that this will be slightly different for ciSingleInstance and
ciMultiInstance (locking might be required)
You can then use a ClientDataset or an XMLBroker to get the number of
connections by linking to this provider.
--
Deepak Shenoy
Agni Software
http://www.agnisoft.com