By Andre Miertschink on Thursday, 19 August 2021
Posted in Support
Likes 0
Views 674
Votes 0
Hi,
I created a simple command line sample and when I am connecting for example using the test page (http://127.0.0.1:5000/sgcWebSockets.html) and opening the socket connection, when I print the connection count (count property) inside the event OnConnect, it is returning 2 instead 1. Any reason why it is showing 2?
Maybe this has to do with WatchDog or HeartBeat which are enabled? Just didn't find any info in manual (might have overlooked).
Also at the OnDisconnect event, the value it is not right also. When I disconnect the single connection using the same sample, it shows 2 which I would assume that should show 1 (or 0). The server is running in a TsgcWebSocketServer. I am using the latest Beta version.
Thx
View Full Post