handling icmp in syn scan and printing ip address