upload TCP/IP data and python script to calculate the rate per second