I had designed an application which will allow me to send and receieve large files on wireless LANs. I am curious to know of the maximum speed that WLAN allows me for transfer.Currently I am using a buffer size of 100MegaBytes for reading and writing to the networkStream
.What optimized size should i use to allow me fast copying without buffer-overflow?
I am using IEEE 802.11n Standard currently…Would it be affected for other standards?
PS. I am new here.If my Question seems inappropriate/unplaced here please guide me to right forum instead of down-voting.I had already googled but of no-advantage to me.
Best Answer
I'm afraid that on the network point of view this is a somewhat impossible question.
In wired Ethernet if you have a Gigabit switch and 2 clients with GB NICs, you can expect to get a stable ~1GB/s throughput rate. In the wireless world the advertised max throughput rates can only be achieved in a strictly controlled lab environment, in any real live environment many factors affect your throughput:
I'd suggest you put this question to Stack Overflow. The coders might be able to give you a more meaningful answer as someone is likely to have tackled similar situation in the past.
Of course you can just take the expected average throughput rates for example from http://www.speedguide.net/faq/what-is-the-actual-real-life-speed-of-wireless-374, but those tend to depend on whom you're asking. Here's a discussion from Superuser concerning wless average throughput on 802.11n: https://superuser.com/questions/187485/average-transit-speed-for-802-11n-wireless-ap. Still you should ask about calculating appropriate buffer size in Stack Overflow.