Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!


Socket Object Serialization


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 programmer12   Members   -  Reputation: 104

Like
0Likes
Like

Posted 24 January 2013 - 02:47 AM

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?



Sponsor:

#2 Bacterius   Crossbones+   -  Reputation: 11697

Like
4Likes
Like

Posted 24 January 2013 - 05:25 AM

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?


“If I understand the standard right it is legal and safe to do this but the resulting value could be anything.”


#3 Khatharr   Crossbones+   -  Reputation: 4106

Like
0Likes
Like

Posted 25 January 2013 - 12:16 AM

Makes it easier to pour the milk on.


void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS