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:  <== How is this
done?
      unpickle the object

This isn't for a project, just trying to learn some more about the
pickle module.

Mike
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to