Regarding the Socket's API throughput

27 Jan 2011

Hello everyone ,

I'm prototyping a device that needs to fetch some files over a local network (just a bunch of HTTP GETs ) and send them to a remote server ( in order to punch through some NATs with zero router configuration (requirement) )

No problem whatsoever with the fetching (i'm using HTTPClient and buffering my files on a MSCFileSystem (usb drive) ) I reach an average of 10KBytes/s when downloading

But I've noticed something rather odd when using the socket's API (http://mbed.org/cookbook/Sockets-API) when uploading , the upload seems to be much slower and reaches only 2.5 KBytes/s on average (even when uploading data directly from RAM, so the filesystem doesn't seem to be the problem)....

My question is, what's the highest upload throughput anyone has gotten out of the mbed with the Socket's API? Even if it's just random(or fixed) gibberish?

Thanks!

Diego Spinola

Engineer