internal void Finish() { DtlsHandshakeRetransmit retransmit = null; if (!mSending) { CheckInboundFlight(); } else { PrepareInboundFlight(null); if (mPreviousInboundFlight != null) { /* * RFC 6347 4.2.4. In addition, for at least twice the default MSL defined for [TCP], * when in the FINISHED state, the node that transmits the last flight (the server in an * ordinary handshake or the client in a resumed handshake) MUST respond to a retransmit * of the peer's last flight with a retransmit of the last flight. */ retransmit = new Retransmit(this); } } mRecordLayer.HandshakeSuccessful(retransmit); }
internal void Finish() { DtlsHandshakeRetransmit retransmit = null; if (!mSending) { CheckInboundFlight(); } else if (mCurrentInboundFlight != null) { retransmit = new Retransmit(this); } mRecordLayer.HandshakeSuccessful(retransmit); }
internal void Finish() { DtlsHandshakeRetransmit retransmit = null; if (!mSending) { CheckInboundFlight(); } else if (mCurrentInboundFlight != null) { /* * RFC 6347 4.2.4. In addition, for at least twice the default MSL defined for [TCP], * when in the FINISHED state, the node that transmits the last flight (the server in an * ordinary handshake or the client in a resumed handshake) MUST respond to a retransmit * of the peer's last flight with a retransmit of the last flight. */ retransmit = new Retransmit(this); } mRecordLayer.HandshakeSuccessful(retransmit); }