Sign in to follow this  
programmer12

Socket Object Serialization

Recommended Posts

programmer12    104

Hi there,

I would like to serialize a socket object(actually it's a dictionary that contain a socket object).
I have read about Pickle but, a socket object could not be picklable.
Any suggesstions?

Share this post


Link to post
Share on other sites
Bacterius    13165

It doesn't make sense to serialize a socket - it's an operating system resource. What are you hoping to accomplish by serializing a socket object?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this