Re: unpickling a stream

2009-05-27 Thread ryles
On May 26, 3:25 pm, mso...@linuxmail.org wrote: > Hello, > > I want to send a stream of pickled objects over a socket.  Is there a > standard way of ensuring that only complete objects are unpickled on > the receiving side. > > client pseudo code: >   loop forever: >     receive some bytes on the s

unpickling a stream

2009-05-26 Thread msolem
Hello, I want to send a stream of pickled objects over a socket. Is there a standard way of ensuring that only complete objects are unpickled on the receiving side. client pseudo code: loop forever: receive some bytes on the socket if we have received a complete pickled object: <== Ho