the code is a mess right now, but i need to save progress off of my lappy. figured out that creating a context in the init wouldn't work with sending an object to multiprocessing. probably due to serialization issues for the context

This commit is contained in:
fawce
2012-01-14 01:46:59 -05:00
parent 1310cd65ab
commit abce64914c
14 changed files with 349 additions and 40 deletions
+11
View File
@@ -0,0 +1,11 @@
import zmq
def main():
context = zmq.Context()
controller = context.socket(zmq.PUB)
controller.bind("tcp://127.0.0.1:10099")
while True:
controller.send("HELLO3")
if __name__ == "__main__":
main()