Skip to content

Instantly share code, notes, and snippets.

@zhangchunlin
zhangchunlin / master.py
Created April 1, 2014 03:26
gevent master slave example
#! /usr/bin/env python
#coding=utf-8
import gevent
from gevent.server import StreamServer
from gevent.queue import Queue
import json
def sendmsg2fobj(fobj,msg):

Keybase proof

I hereby claim:

  • I am dccarroll on github.
  • I am dcc (https://keybase.io/dcc) on keybase.
  • I have a public key whose fingerprint is 1146 B3BF 3134 8DAE D9C2 7D2E 6F71 80D4 18C8 090E

To claim this, I am signing this object: