Depends on the extent of exchange of conversations. ...if the other person becomes your priority over your spouse and kid then certainly its wrong.....it is quite natural but not ethical....otherwise if its merely normal friendly communication then its ok...