Forums: Remote Speed Tester 1.0 - Forums

Jump to content

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Remote Speed Tester 1.0

#1 User is offline   vnet576 

  • Specialist
  • Icon
  • Group: Members
  • Posts: 1,000
  • Joined: 01-August 03

Posted 30 March 2004 - 06:21 PM

This is a program that tests the upload and download speed of servers. Basically it runs a series of upload/download tests on multiple servers to give you a raw transfer speed. Useful for finding how fast your machines are. It is open source so that you are able to add multiple speed test servers to this system.
Thanks go to gman24 for helping me with this prog and hellraiseruk for giving me the idea of making it in the first place.


Fixed the upload name bug, making it generate a random number up to 9999999. Also added country support.

RemoteTest 1.2

Open Source Remote Server Connection Speed Tester

Coding: vnet576 [vnet576@hotmail.com]
Debugging: gman24
Idea: Hellraiser
http://www.codelinx.net

Changes:
Version 1.2:
Fixed incorrect speed bug.
Added local ip information.
Visual output changes.
Various algorithm fixes.

Version 1.1:
Added location support.
Fixed random name bug. 

Description:
This is a program that tests the upload and download speed of remote servers by connecting to public highspeed servers and transferring files. This program uses Wininet APIs for FTP connections. The source is included allowing users to add servers as well as other modifications to this program.

Use:
remotetest.exe is the main program.
Result.txt is an output file containing transfer results. 

Notes:
This program was designed and built under Dev-C++. There were some problems running this under Microsoft Visual Studio 6.0.

Anonymous Public FTP Servers:
http://www.ftp-sites.org



Quote

Speed Test Results


Download Speed:

--------------------------------------------------------------
Server: ftp.ea.com Country: United States
File Size: 454.06 KB Speed: 154.23 KB/S
--------------------------------------------------------------
Server: ftp.aol.com Country: United States
File Size: 2781.89 KB Speed: 326.40 KB/S
--------------------------------------------------------------
Server: ftp.symantec.com Country: United States
File Size: 3895.07 KB Speed: 320.66 KB/S
--------------------------------------------------------------
Server: ftp.ncsa.uiuc.edu Country: United States
File Size: 1949.75 KB Speed: 218.51 KB/S
--------------------------------------------------------------
Server: ftp.uni-bayreuth.de Country: Germany
File Size: 1258.18 KB Speed: 103.41 KB/S
--------------------------------------------------------------
Server: ftp.softcircuits.com Country: United States
File Size: 668.73 KB Speed: 228.62 KB/S
--------------------------------------------------------------
Server: ftp.osc.edu Country: United States
File Size: 1034.81 KB Speed: 216.62 KB/S
--------------------------------------------------------------
Server: ftp.novell.com Country: United States
File Size: 1265.00 KB Speed: 154.44 KB/S
--------------------------------------------------------------
Server: ftp.physics.ohio-state.edu Country: United States
File Size: 2640.65 KB Speed: 173.13 KB/S

Upload Speed:

--------------------------------------------------------------
Server: ftp.demon.co.uk Country: United Kingdom
File Size: 1000.00 KB Speed: 28.21 KB/S
--------------------------------------------------------------
Server: ftp.orie.cornell.edu Country: United States
File Size: 1000.00 KB Speed: 17.22 KB/S
--------------------------------------------------------------
Server: space.mit.edu Country: United States
File Size: 1000.00 KB Speed: 28.91 KB/S
--------------------------------------------------------------
Server: a.cs.uiuc.edu Country: United States
File Size: 1000.00 KB Speed: 28.85 KB/S
--------------------------------------------------------------
Server: tsx-11.mit.edu Country: United States
File Size: 1000.00 KB Speed: 28.88 KB/S
--------------------------------------------------------------
Server: ftp.novell.com Country: United States
File Size: 1000.00 KB Speed: 27.67 KB/S
--------------------------------------------------------------
Server: ftp.gactr.uga.edu Country: United States
File Size: 1000.00 KB Speed: 27.34 KB/S
--------------------------------------------------------------
Server: ftp.ncsa.uiuc.edu Country: United States
File Size: 1000.00 KB Speed: 28.17 KB/S

Download Statistics:

Max Download Speed: 326.40 KB/S
Min Download Speed: 103.41 KB/S
Average Download Speed: 210.67 KB/S

Upload Statistics:

Max Upload Speed: 28.91 KB/S
Min Upload Speed: 17.22 KB/S
Average Upload Speed: 26.90 KB/S

Total Test Time: 6 Minutes 22 Seconds 19 Milliseconds
Local IP Address: 192.168.1.102

Attached File(s)


This post has been edited by vnet576: 03 April 2004 - 08:55 PM

0

#2 User is offline   SeNe 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 66
  • Joined: 14-September 03

Posted 30 March 2004 - 06:44 PM

very usefull program, gonna give it a try, im sure im gonna get good use of it.
thanks
0

#3 User is offline   h3llraz0r 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 144
  • Joined: 31-August 03

Posted 30 March 2004 - 08:47 PM

thats a great little tool!! and you made it open source!! great work vnet576 :D
many people will liek this
0

#4 User is offline   slb33 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 146
  • Joined: 30-August 03

Posted 30 March 2004 - 10:11 PM

Cool!

I've been looking for an app like this.

Thanks for sharing it with us :D
0

#5 Guest_T3cHn0b0y_*

  • Group: Guests

Posted 30 March 2004 - 11:33 PM

Very nice! Written well too :)

Just got one question...in a lot of source I've seen in C and C++, I've noticed that variables are used to take the return value of functions, which are then checked...like this:

ftpopen = InternetOpen(NULL, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL,INTERNET_FLAG_ASYNC);
if (ftpopen == NULL)...

My question is could you just check the return value as the function is called? Like this:

if (InternetOpen(NULL, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL,INTERNET_FLAG_ASYNC) == NULL)...
0

#6 User is offline   TheOther 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 98
  • Joined: 01-December 03

Posted 31 March 2004 - 12:54 AM

Thx m8te. This really usefull! B)
0

#7 User is offline   IronEagle 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 27
  • Joined: 24-July 03

Posted 31 March 2004 - 01:23 AM

oh nice wanna try it..
thx.
0

#8 User is offline   jjoao 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 50
  • Joined: 12-October 03

Posted 31 March 2004 - 01:51 AM

Great tool. Thanks for sharing the source code, always usefull for those who love "tweaking" everything.

:D
0

#9 User is offline   pe0n 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 53
  • Joined: 13-January 04

Posted 31 March 2004 - 02:19 AM

Respect vnet576...

Very nice work indeed :D
0

#10 User is offline   Burner 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 23
  • Joined: 25-August 03

Posted 31 March 2004 - 07:20 AM

very nice work m8
very usefull

greetz
0

#11 User is offline   kenshin_efx 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 94
  • Joined: 08-September 03

Posted 31 March 2004 - 08:30 AM

one question vnet, this tool not write in result.txt the counrty where make the speed?
0

#12 User is offline   Burner 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 23
  • Joined: 25-August 03

Posted 31 March 2004 - 08:39 AM

hmmmm still little buggy

Upload Speed:

File Size: 20732.00 KB	Speed: 180.87 KB/S
File Size: 20732.00 KB	Speed: 183.79 KB/S
File Size: 20732.00 KB	Speed: 70.58 KB/S
File Size: 20732.00 KB	Speed: 107979.16 KB/S
File Size: 20732.00 KB	Speed: 752.47 KB/S

greetz
0

#13 User is offline   Hellraiseruk 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 141
  • Joined: 11-October 03

Posted 31 March 2004 - 08:49 AM

hehe :D

took ur time lol nice going m8..me with ideas u make them lol ;)
0

#14 User is offline   FiNaLBeTa 

  • Master Sergeant
  • Icon
  • Group: Specialist
  • Posts: 461
  • Joined: 26-December 03

Posted 31 March 2004 - 10:18 AM

Verry usefull coding.
Thank you for this app, and for sharing it's code.
0

#15 User is offline   vnet576 

  • Specialist
  • Icon
  • Group: Members
  • Posts: 1,000
  • Joined: 01-August 03

Posted 31 March 2004 - 12:03 PM

T3cHn0b0y, on Mar 31 2004, 02:33 AM, said:

Very nice! Written well too :)

Just got one question...in a lot of source I've seen in C and C++, I've noticed that variables are used to take the return value of functions, which are then checked...like this:

ftpopen = InternetOpen(NULL, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL,INTERNET_FLAG_ASYNC);
if (ftpopen == NULL)...

My question is could you just check the return value as the function is called? Like this:

if (InternetOpen(NULL, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL,INTERNET_FLAG_ASYNC) == NULL)...

For that function and the one following it I had to establish a handle on the connection. Basically internet open returned a handle to the connection that I could use along with an error code if it failed. The reason for that is because I needed to use that handle in functions that came afterwards.

ftpopen = InternetOpen(

see what i mean..i use ftpopen as the handle here:
ftpconnect = InternetConnect(ftpopen,

Burner..you know what seems to have happened to cause you to have a fake upload speed. The program generates a random file with a name from 1-1000 since the upload directory of those ftp servers does not delete the file after you upload it. As a result everybody here has to upload a file with a different name. In your case you generated a filename(number) that was already used by someone else. I didn't anticipate that happening actually, but I'll change the random number generator to a much higher number.

Kenshin...the reason that this tool doesn't write the country name is because I generally only test from US versions. If you add ftp servers from different countries then the country name would matter. I'll add that feature to the next version. Remeber this is open source and I did include a list of localized ftp servers so you can add your own servers from any country that you want.

Also keep posting the bugs that you find in this program..lol real world by you all finds bugs that I haven't even considered.
0

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting