Vote count:
0
I'd like to subclass the zmq.Socket class in order to automatically serialize Python objects before sending them and deserialize received messages. Now the docstring of zmq.Socket sais that in order to create a socket, I should create a context and then call
socket = context.socket(socket_type)
With this scheme, how can I use my own subclasses of zmq.Socket?
asked 45 secs ago
How to use subclasses of ZMQ sockets
Aucun commentaire:
Enregistrer un commentaire