Closed ditupao closed 6 years ago
I've noticed that the Activated method in Server.cs file line 628 , deactivate all previous client connections when a new connection is OPENED.
This detail prevents asdu sending to all previous client connections , even if ServerMode is CONNECTION_IS_REDUNDANCY_GROUP.
I'm not sure if it is a bug or a specific related to the protocol, when the server is a multi client tcp server.
Thanks.
internal void Activated(ClientConnection activeConnection) { ... // deactivate all other connections foreach (ClientConnection connection in allOpenConnections) { if (connection != activeConnection) { ... connection.IsActive = false; ...
It is a bug. In the CONNECTION_IS_REDUNDANCY_GROUP mode old connection should stay active. Should be fixed now.
I've noticed that the Activated method in Server.cs file line 628 , deactivate all previous client connections when a new connection is OPENED.
This detail prevents asdu sending to all previous client connections , even if ServerMode is CONNECTION_IS_REDUNDANCY_GROUP.
I'm not sure if it is a bug or a specific related to the protocol, when the server is a multi client tcp server.
Thanks.