Atos interview question

Explain 3 way hand shaking