from scapy.all import * a=IP(dst="192.168.122.56")/TCP(flags="S", sport=6588, dport=6588) for i in xrange(4): send(a, verbose=0)