def sendOutMsgAndCloseConnection(self): msgToSend = MessageParser.getFullOutMsg() self.logMsg("wysylam out msg do %s" % self.transport.getPeer().host) self.sendPacket(msgToSend) self.transport.loseConnection()
def sendOutMsgAndCloseConnection(self): msgToSend = MessageParser.getFullOutMsg() self.logMsg("wysylam out msg do %s" % self.transport.getPeer().host) self.sendPacket(msgToSend) self.transport.loseConnection()