generating and writing udp packet