UDPThread method implemented