예제 #1
0
 def send(self, frame):
     self.protocol.transport.write(cons.constructFrame(frame))
예제 #2
0
def sendFrame(to, x):
    print "sending frame "+displayFrame(x)
    to.transport.write(cons.constructFrame(x))