some udp code start