.NET Framework Bookmark and Share   
 index > Network Class Library (System.Net) > like Mikrotik Bandwith tester application
 

like Mikrotik Bandwith tester application

hi all
i want to write a application (like Mikrotik Bandwidth tester application that test our bandwidth) that have 2 parts client and server ,relation between is by socket i want to make fill my bandwidth by send and receive data between client and server side , but when i make a packet with large size to fill bandwidth it works good but if i want to send 2g of data file it don't makes my bandwidth full ?
any body have reference or solution for my task please help me i'm new in network programming.

Thanks Motevallizadeh
motevallizadeh

A couple of hints for you:

1. Bandwidth is just one of many resources in a computer system. Make sure you are not being slowed down by any other resource, like reading your 2gb file from disk, or using too much CPU. Sending the same repeating pattern of data is a good simple way to generate traffic without taxing other resources.

2. Networks are like road systems; your bandwidth is limited by bottlenecks in the system. I find it almost impossible to saturate a 100mb LAN connection, but easy to saturate things like a cable connection, DSL, etc. Your network card may not say the connection is saturated because it measures LAN traffic, not internet traffic. There may also be other traffic on your network slowing you down. What benchmark are you using for comparison?

3.There is a huge difference in performance when transferring small files vs. large ones. Some networks like Comcast give you up to 10x performance for the first 10mb. This gets most traffic out of the way quickly so the network is free to handle other requests. However, large downloads can be slowed down to less than half your normal speed to make sure there is still room for other traffic.

If you can determine which of these issues are slowing you down, then we might be able to provide more specific guidance.

Tratcher
hi

i work in isp in my country and we sale bandwidth to our customers,for this when we want to gave the bandwidth to our customers (for example one customer come and buy 1mb bandwidth) we should test the bandwidth and show it to our customer that this bandwidth work in 1mb send and receiving data.
i want to write a application like Mikrotik Bandwidth tester to test the connection and show it to our customer but i have not any reference to know how can i fill my bandwidth until(for example) 1mb data.

Thanks Motevallizadeh
motevallizadeh
The answer was given in a different thread.
Reymarx Gereda [MSFT]
Reymarx Gereda

You can use google to search for other answers

Custom Search

More Threads

• Unable to get 3+ connections for uploading to ftp server...!
• Bypass choose digital certificate window
• How can I encryption in 128 bit file Upload and Download from Server...?
• SocketException at night only
• HttpWebRequest/HttpWebResponse
• web client : A blocking operation was interrupted by a call to WSACancelBlockingCall
• UDPClient usage and security sanity check
• Convert RAW email message
• Reading MAC address from received Udp messages
• FTPES - FTP through Explicit TLS/SSL