Re: monitor multicast traffic/IP

2013-08-20 Thread ElChino
wrote: I am a Network Engineer, but have been trying to teach myself Python since Cisco will be leverage it on new high end models, yet I am very new to programming and Python; however, I have a need to have the ability to monitor traffic, more specificity multicast packets from a few

monitor multicast traffic/IP

2013-08-20 Thread jasonguto
Folks: I am a Network Engineer, but have been trying to teach myself Python since Cisco will be leverage it on new high end models, yet I am very new to programming and Python; however, I have a need to have the ability to monitor traffic, more specificity multicast packets from a few sources

Concurrent multicast udp socket

2013-04-09 Thread emmanuel . richiardone
Dear all I have a problem with multicast sockets of the same port but belonging to different groups. For example, I have two udp sockets, listening on the same local address and same port; for each one I set the sockopt to listen on a specific multicast group (I can also see the igmp packets

Re: multicast

2009-11-04 Thread Seb
EADDR,1) #The sender is bound on (0.0.0.0:1501) self.sock.bind((ANY,SENDERPORT)) #Tell the kernel that we want to multicast and that the data is sent #to everyone (255 is the level of multicasting) self.sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, 25

Re: Twisted Matrix and multicast broadcast

2008-10-09 Thread Stodge
rted Listening' > >        # Join a specific multicast group, which is the IP we will > >respond to > >        self.transport.joinGroup('224.0.0.1') > > > [snip] > > >class MulticastClientUDP(DatagramProtocol): > >    def startProtocol(self):

Re: Twisted Matrix and multicast broadcast

2008-10-09 Thread Jean-Paul Calderone
On Thu, 9 Oct 2008 06:03:44 -0700 (PDT), Stodge <[EMAIL PROTECTED]> wrote: [snip] class MulticastServerUDP(DatagramProtocol): def startProtocol(self): print 'Started Listening' # Join a specific multicast group, which is the IP we will respond to self.tra

Twisted Matrix and multicast broadcast

2008-10-09 Thread Stodge
I'm trying to get a simple multicast application working using Twisted; so far I have: from twisted.internet.protocol import DatagramProtocol from twisted.internet import reactor from twisted.application.internet import MulticastServer class MulticastServerUDP(DatagramProtocol):

Re: Python sockets UDP broadcast multicast question??

2008-08-28 Thread castironpi
On Aug 28, 1:09 am, inorlando <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a question about python and sockets , UDP datagram in > particular. I'm new to socket programming so please bare with me. > > I am trying to write a simple application that broadcast files to > another computer on the sam

Re: Python sockets UDP broadcast multicast question??

2008-08-28 Thread inorlando
municating computers is overloaded, > you can loose packets or > receive them in the wrong order. > > So, first of all, if you cannon tolerate packet loss, consider > switching the protocol to TCP. > If you cannot change protocol (maybe because TCP has no multicast), > then try

Re: Python sockets UDP broadcast multicast question??

2008-08-28 Thread Francesco Bochicchio
orrect sequence. This means than in specific conditions, e.g. when the network or one of the communicating computers is overloaded, you can loose packets or receive them in the wrong order. So, first of all, if you cannon tolerate packet loss, consider switching the protocol to TCP. If you cannot chan

Python sockets UDP broadcast multicast question??

2008-08-27 Thread inorlando
Hi all, I have a question about python and sockets , UDP datagram in particular. I'm new to socket programming so please bare with me. I am trying to write a simple application that broadcast files to another computer on the same network/subnet but I do not want the receiver computer to have to r

Re: How to get a multicast to wait for all nodes?

2008-06-27 Thread Ryuke
MYNODE_ID] sorted_keys = sorted(netdict) #for key in sorted_keys: print '%s\t\t%s' % (key,netdict[key]) for c in netdict[NODE_LIST][1:]: print '[netge module] NbrNode %d'% ord(c) #Create heart beat data packet for multicast xfer #

Re: How to get a multicast to wait for all nodes?

2008-06-27 Thread Colin J. Williams
Ryuke wrote: I have a code that receives gps information from nodes and gives off its own coordinates via radios connected by Ethernet. but the code continues to run after receiving only 1 set of coordinates, how do i get it to wait for multiple nodes to send before continuing You might provid

How to get a multicast to wait for all nodes?

2008-06-26 Thread Ryuke
I have a code that receives gps information from nodes and gives off its own coordinates via radios connected by Ethernet. but the code continues to run after receiving only 1 set of coordinates, how do i get it to wait for multiple nodes to send before continuing -- http://mail.python.org/mailman