Michael Zillgith

Results 83 comments of Michael Zillgith

Yes, I will add a check. But the question is why is ipAddrStr == NULL? Seems that can only happen when the getpeername socket function doesn't return a valid address.

The protocol is not intended to have more than one active client (master). There can be multiple TCP clients connected in standby but only one client is "active" an can...

Hi Pavel, thanks for your hint. In general the specification states that there is only one started connection where ASDUs are sent (also in the test case descriptions in 604...

Ok. Seems reasonable. This way each client connection is conceptionally its own redundancy group with an own event buffer.

I think I can easily add a new server mode where each connected client has its own "redundancy group", by sending/receiving I/S messages and receiving the same events from the...

The server/slave supports now two modes. The existing mode (SINGLE_REDUNDANCY_GROUP) that allow only one "active" connection and a single event buffer that also stores events when no client is connected,...

BitString32 should be fixed https://github.com/mz-automation/lib60870/commit/256bcb5a467ce940cc26c1667c24e1a72d199f71

> As i understood, according to your code it is possible to have two connections with property IsActive = true; (because the connection becomes active when it sends START DT)...

I think the behaviour you described is not intended by the standard, because the controlling station (client) should control which connection is used. Also the standard days: "If the STARTDT...

Thank you for the information about the different treatment of the problem in implementation you mentioned. This is a very interesting discussion. I guess the reason why implementations behave so...