Send a Class Object by Socket

Paul Rubin phr-n2002a at nightsong.com
Mon Jan 7 13:55:32 EST 2002


hugomartires at hotmail.com (Hugo Martires) writes:
> I wan't to send an object of my class vector() to a client socket.
> When the client receive the object, i wan't to treat it with all the
> class functions of that object. (They exist on the remote computer)
> 
> My problem is:
> 	When the object reach the client, how can the client recognize it
> like an object of the class vector ?

You have to use a remote object protocol for that.  Try PyRO for example
(pyro.sourceforge.net).



More information about the Python-list mailing list