I'm currently making a program that will be something like ping in comand prompt...

So it will check is some website up and if it is it will take sites IP address...

Anyway... I want to know how to send let's say 10 packets with specific bytesize to some remote host?