TCPSocket Download Rate

T

Thijs De vries

Hey Everyone,
Just wondering if there is a way of monitoring the download rate and the
download progress using TCPSocket. From what I've seen once something is
downloading it pretty much keeps on downloading and I'm not sure how to
monitor progress.
thanks,
Thijs
 
T

Thijs De vries

Thijs said:
Hey Everyone,
Just wondering if there is a way of monitoring the download rate and the
download progress using TCPSocket. From what I've seen once something is
downloading it pretty much keeps on downloading and I'm not sure how to
monitor progress.
thanks,
Thijs

Allright, figured it out myself. Turns out if I call
tcp_connection.recv(10, 0) multiple times it will get the next 10 bytes,
followed by the next 10 bytes. Now what I'm wondering is if there is
anyway I can index where I start downloading so I can download from
multiple servers that contain the same file?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,281
Latest member
Pedroaciny

Latest Threads

Top