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
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
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
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
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):
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
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):
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
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
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
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
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
#
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
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
14 matches
Mail list logo