[Twisted-Python] Client Application service.Service

2016-03-18 Thread Tim Hughes
Hi all, I am looking into twisted for writing a client application (bot style) and most of the examples I find are for server style applications. Looking at the finger example and https://github.com/jdavisp3/twisted-intro/blob/master/twisted-server-3/fastpoetry.py I am just wondering where is b

[Twisted-Python] Cannot perform IPv6 Link-Local Multicast on Twisted

2016-03-18 Thread Shantanoo Desai
I am trying to use the .joinGroup() by passing the IPv6 link-local multicast add. ff02::1 but get DNS lookup failure error. I am trying to use the UDP multicast example on the twistedmatrix.com website and simply replacing the IPv4 multicast address with the IPv6 one. I have also posted a query

Re: [Twisted-Python] Client Application service.Service

2016-03-18 Thread Enrique Samson Jr.
Hi Tim, I think you need to keep a reference to an instance of your MyClientProtocol. Your example does not show how you actually connected your bot to a server but I assume it follows on the call to load_config on startService. One way to do this: class MyService(Service): def __init__(self):