[Twisted-Python] Possible bug in from twisted.internet.app import Application ?
jjanecek at telusplanet.net
jjanecek at telusplanet.net
Tue Nov 25 20:04:00 MST 2003
I am running freebsd with python 2.2.2 and twisted 1.10
the same code worked fine on another server which is identical
except it is running twisted 1.07
anyways
from twisted.internet.app import Application
from pyRtpRelay import TRelayService
print "Relay Going Up"
application = Application('pyRtpRelay')
RelayService=TRelayService(application)
RelayService.Start()
Inside my object TRelayService when I call
application.ListenUDP(XXXXXXXX) it will not listen on the required UDP ports and
returns None.
As a temporary hack I then when
from twisted.internet import reactor
reactor.ListenUDP(XXXXXX)
and it worked fine
Thanx John
More information about the Twisted-Python
mailing list