import socket
import random
import time

HOST = '10.128.0.6'    # The remote host
PORT = 502              # The same port as used by the server
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))
count = 0
while(1):   
	s.send(str(random.randint(0, 4294967296)))
	time.sleep(.1)
	count = count + 1
	print("sending packet #" + str(count)) 

s.close()

