[zeromq-dev] Client Server Model in Python
robert.kern at gmail.com
Tue Aug 24 20:26:37 CEST 2010
On 8/24/10 8:05 AM, Abhishek K wrote:
> I am new to ZeroMQ
> I am using a Client Server Model in Python.
> This is the basic outline of the server code.
> socket.bind('tcp://127.0.0.1:5555 <http://127.0.0.1:5555>')
> while True:
> if message[:2]=="01":
> if messafe[:2]=="02":
> ## logic 2
> I have 2 questions,
> * I think the if the message processing logic takes lot of time, how can I
> thread the process of processing the message (in Python)
Why do you think you need to do so?
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the zeromq-dev