Boost logo

Boost Users :

From: Seweryn Habdank-Wojewódzki (habdank_at_[hidden])
Date: 2006-01-28 06:15:03


Hello

# pi± stycznia 27 2006 18:31, @ Robert Ramey:
> Seweryn Habdank-Wojewódzki wrote:
> > I would like to ask for consideration of some new functionality for
> > boost::serialization.
> >
> > If I have a stream and I do not want to close the stream at the end of
> > serialization
>
> I can't see why this is a problem. Does the following not work?

The following works fine. This is just a small suggestion. IMHO it is very
nice if I can serialize object (as binary, text or xml) through the socket,
isn't it?

Using additional buffers, just for creating "end of stream" sequence could
make code buggy. Just one function as Pauld said eg. close() or send() will
be nice.

Best regards.

-- 
|\/\/|   Seweryn Habdank-Wojewódzki
`\/\/

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