// create socket and send the packet to 10.1.2.1 ...