Boost logo

Boost Users :

From: Campbell Morrison (campbellrmorrison_at_[hidden])
Date: 2008-08-04 18:34:57


Hi,

I am using boost::serialization to send and recieve some objects over a
socket (as per Asio - Serialization Example). I find that when I make the
objects contain very large std::vectors (i.e. KB to MB), I get stream errors
when recieving the object. Is there an upper limit in size in the
serialization? Or could it be an stl or Asio thing?

The type in the object that is causing the trouble is a: std::vector< double
>. I haven't tried with other types.

regards,

campbell.



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