code cleanup testApp.*
udpsocket received bytes check