[Twisted-Python] multicast

2010-12-15 Thread Pandelis Theodosiou
I'm trying to make a Multicast client.

I've tried the simple script found in:
http://twistedmatrix.com/documents/10.1.0/core/howto/udp.html#auto3

While it shows no errors, it doesn't receive any data. How can I check what
the problem is?
It runs on a Debian 64-bit machine where I've installed Python2.6 and
Twisted 10.0.2.0

Could it be some firewall setting?
Is it possible I've somehow screwed with the installation procedure?

Pandelis

from twisted.internet.protocol import DatagramProtocol
from twisted.internet import reactor
from twisted.application.internet import MulticastServer

class MulticastClientUDP(DatagramProtocol):

def datagramReceived(self, datagram, address):
print "Received:" + repr(datagram)

# Send multicast on 224.0.0.1:8005, on our dynamically allocated port
reactor.listenUDP(0, MulticastClientUDP()).write('UniqueID',
 ('233.75.215.44', 60044))
reactor.run()



 
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] twisted.words.protocols.jabber and XEP-0138 stream compression

2010-12-15 Thread BURGUIERE Thomas
Hey all,

I've search (in Twisted 10.2.0) for a reference to XEP-0138 (stream 
compression) in twisted.words.protocols.jabber but I don't see anything 
referring to it.

Is there a way to activate stream compression ? (I have a server which 
have a parameter for zlib stream compression)
And if so what do i need to do ?


Thanks,

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] twisted.words.protocols.jabber and XEP-0138 stream compression

2010-12-15 Thread Kevin Horn
On Wed, Dec 15, 2010 at 11:13 AM, BURGUIERE Thomas
wrote:

> Hey all,
>
> I've search (in Twisted 10.2.0) for a reference to XEP-0138 (stream
> compression) in twisted.words.protocols.jabber but I don't see anything
> referring to it.
>
> Is there a way to activate stream compression ? (I have a server which
> have a parameter for zlib stream compression)
> And if so what do i need to do ?
>
>
> Thanks,
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>

No idea, but you might ask on the Twisted-Jabber list as well:
https://mailman.ik.nu/mailman/listinfo/twisted-jabber

Kevin Horn
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] multicast

2010-12-15 Thread Itamar Turner-Trauring
On Wed, 2010-12-15 at 18:07 +0200, Pandelis Theodosiou wrote:
> I'm trying to make a Multicast client.
> 
> I've tried the simple script found in:
> http://twistedmatrix.com/documents/10.1.0/core/howto/udp.html#auto3
> 
> While it shows no errors, it doesn't receive any data. How can I check
> what the problem is?

You didn't do the necessary joinGroup() call, which is in the original
example.


___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python