Boost logo

Boost Users :

Subject: [Boost-users] asio async_write bad address error
From: Thomas Klein (tma.klein_at_[hidden])
Date: 2009-07-18 05:58:24


Hi there,

I'm trying to use boost asio to transfer large objects through a tcp
socket.

I'm using the Serialization code from the asio documentation as
reference.

I got a transfer problem and can't find any clue, I'm posting here as
a last resort. If someone has a little time to point out my mistakes
I'll be really gratefull !

Here is a tgz of a code sample : http://archon.adept.free.fr/asioproblem.tgz

In the archive you'll find a server and a client directory. in each
directory you'll find a compile.sh file you'll have to adapt to your
configuration.

In the file asiotestserver/TcpConnection.cpp line 131 you''ll find a
comment explaining the transfer problem.

Thanks a lot in advance !



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net