The real 802.11G throughput is 2.8MB/s at the best. An uncompressed
audio channel takes roughly 100KB/s.
That number you give is 100% correct (tested with scp, it reports the speed).
But using UDP (not TCP/IP) we can go faster:
original file:
-rw-r--r-- 1 root root 2473920576 2008-08-23 19:00 goldfinger.ts
Main PC:
date;cat goldfinger.ts | netcat -q 0 -x Maximize-Throughput -u 10.0.0.155 1234;date
Mon Sep 22 21:26:19 CEST 2008
cat goldfinger.ts 3.20s user 32.41s system 12% cpu 4:36.56 total
netcat -q 0 -x Maximize-Throughput -u 10.0.0.155 1234 3.67s user 215.37s system 79% cpu 4:36.56 total
Mon Sep 22 21:30:56 CEST 2008
Other side (eeePC)
netcat -u -l -p 1234 > /dev/zero
Completed, file length / total time gives 8.9MB/s
x 8 makes about 70 Mbits / second, clearly something went wrong..... my math?
However, I could not play it, when I tried to write to a RAM cache for speed,
it was all garbled.
UDP = no error correction if packet not received, packet may arrive in any order too.
Anyways, I repeated the test the other way around, now for a mp3 file:
-rw-r--r-- 1 user user 103760023 2008-09-09 19:03 instrumental.mp3
home/user> date;cat instrumental.mp3 | netcat -x Maximize-Throughput -u -q 0 10.0.0.150 1234;date
Tue Sep 23 00:17:16 CEST 2008
Tue Sep 23 00:17:40 CEST 2008
That makes 24 seconds for 103760023 bytes, makes 4.32 MB/second, that is
34.58 Mbps.
There is some data loss, as the received file length is: 103579799
But it seems to play very well, the end is also there, but for course
data integrity is bad, there must be damage somewhere, but I listened to part of it,
and that sounded great, but it is too long to listen to all of it now, maybe tomorrow.