RTC Forums
November 24, 2024, 09:27:21 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
ConnectionCount
Pages: [
1
]
« previous
next »
Print
Author
Topic: ConnectionCount (Read 4421 times)
sunstone
RTC License++
Posts: 16
ConnectionCount
«
on:
February 19, 2011, 01:52:54 AM »
Thanks very much.
After your explanation in detail, I can understand your design thinking more clearly.
1) Could you explain the difference of "rtcServerConnectionCount,rtcClientConnectionCount,
,TotalClientConnectionCount,TotalConnectionCount" ?
2) rtcClientConnectionCount=TRtcHttpServer1.TotalClientConnectionCount + TRtcHttpServer2.TotalClientConnectionCount +...+ TRtcHttpServerX.TotalClientConnectionCount ?
If the server program has only one TRtcHttpServer,rtcClientConnectionCount=TotalClientConnectionCount ?
rtcServerConnectionCount is same too?
3)rtcTotalConnectionCount=rtcServerConnectionCount + rtcClientConnectionCount ?
TotalServerConnectionCount=TotalClientConnectionCount + TotalServerConnectionCount?
Best regards
SUNSTONE
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: ConnectionCount
«
Reply #1 on:
February 19, 2011, 08:49:06 AM »
* function
rtcServerConnectionCount
:longint;
- Returns the total number of active connections open to our Server connection components. This is the number of active incoming Connections to all RTC Server components in our application.
* function
rtcClientConnectionCount
:longint
- Returns the total number of active connections open by using any Client connection component. Please note that an open client connection does not necessarily mean a working connection, but it does mean a connection resource which is actively in use.
* function
rtcTotalConnectionCount
:longint;
- Total number of ALL active incomming and outgoing connections to and from RTC components. This is the same as rtcServerConnectionCount + rtcClientConnectionCount.
Properties available on the TRtcConnection component descendants are calling the above listed global procedures to give you access to the same information:
- TotalClientConnectionCount = rtcClientConnectionCount
- TotalServerConnectionCount = rtcServerConnectionCount
- TotalConnectionCount = rtcTotalConnectionCount
Best Regards,
Danijel Tkalcec
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...