def dataReceived(self, data: bytes) -> None: """ Called whenever data is received. @type data: L{bytes} @param data: Part or all of a SOCKSv5 packet. """ if DEBUG: print("RECEIVED:", repr(data)) if self.otherConn is not None: # We're in proxying mode now: self.otherConn.write(data) return StatefulProtocol.dataReceived(self, data)
def dataReceived(self, data): #self.log.debug("Processing %r", data) StatefulProtocol.dataReceived(self, data)
def dataReceived(self, data): print "Processing", repr(data) StatefulProtocol.dataReceived(self, data)