udp thread gets gui is parameter