si ma quando hai fatto il primo getdata svuoti il buffer del socket è chiaro dento s() non mette niente