Here is a tgz of a code sample : http://archon.adept.free.fr/asioproblem.tgzIn the archive you'll find a server and a client directory. in eachdirectory you'll find a compile.sh file you'll have to adapt to yourconfiguration.In the file asiotestserver/TcpConnection.cpp line 131 you''ll find a commentexplaining the transfer problem.
At a glance, it seems that in TcpConnection::SendInfo() you try to
send *local* buffers asynchronously. Is it really what you're doing,
or I'm missing something?