はじめに こんにちは、Python界の情弱です。ZeroMQを使って色々やろうと思うことがあったので、ZeroMQのガイドをPython版でやってみることにした。 参考 Python binding - zeromq PyZMQ Documentation — PyZMQ 2.2dev documentation ØMQ - The Guide - ØMQ - The Guide REQ/REP コード Hello World Server/Client helloworldsrv.py (Hello World Server) import zmq import time context = zmq.Context() responder = context.socket(zmq.REP) responder.bind("tcp://localhost:5555") while True
