When acting as initiator, if the sender sends a logon request and receives a logout the expected incoming sequence number is incremented independently of the actual sequence number of the logout message.
1) supposing NextTargetMsgSeqNum = N, the sender sends a logon request
2) the target replies with a logout message having sequence number N+M (where M>=0)
3) the sender disconnects BUT NextTargetMsgSeqNum is incremented
I was expected to have NextTargetMsgSeqNum not being changed.