Skip to main content
GameDev.net gamedev.net
🔒 Locked

Socket Object Serialization

Started by programmer12 Jan 24, 2013 at 8:47 AM 1 replies 3k views
Original Post
programmer12
programmer12

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?

Bacterius
Bacterius

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.”
Khatharr
Khatharr

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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.