gmc:working udp version