示例#1
0
 def handler(bf: PacketButterfly):
     while True:
         echopacket = yield from bf.read()
         if not echopacket:
             break
         bf.write(echopacket)
示例#2
0
 def handler(bf: PacketButterfly):
     while True:
         echopacket = yield from bf.read()
         if not echopacket:
             break
         bf.write(echopacket)