Made modifications to support ipv6 and udp
remove debugging lines
correct ipv6 related code. neatify ipv4 code