i want to calc real upload speed in my network

now i have only one site available to connect , no other sites

i used tcp to connect to this site via port 80

i.e me.wincock1.connect www.google.com, 80

and then i tried to send Random data and calc upload speed by waiting the answer in winsock_SendComplete()

but the problem is that the site close the connection after i send Random data

can any one help me to calc upload speed?

thnx for answer