In my opinion, It depends on the person. When a friend of mine (we rarely meet) says "I miss you" to me, I prefer to answer him/her with "I miss you, too". I will not answer him/her with "yes/yeah/ok, haha". In my opinion, B just want to says thank you for missing me. Hehe :p. I don't know if it is right or wrong but I hope this will help :)