* Jordan Apgar:
I'm trying to run two servers in the same program at once. Here are
the two:
class TftpServJ(Thread):
def __init__(self, ip, root, port=69, debug = False ):
Thread.__init__(self)
setup stuff here
def run(self):
try:
self.server.listen(
dont call the .run() method, call the .start() method which is defined the
Thread class (and should NOT be overridden).
tftpserv.start()
xmlserv.start()
On Fri, Feb 12, 2010 at 10:57 PM, Jordan Apgar wrote:
> I'm trying to run two servers in the same program at once. Here are
> the two:
> cl
I'm trying to run two servers in the same program at once. Here are
the two:
class TftpServJ(Thread):
def __init__(self, ip, root, port=69, debug = False ):
Thread.__init__(self)
setup stuff here
def run(self):
try:
self.server.listen(self.ip, self.port