Re: Multicast

"'Marco Rossi | Cemit s.r.l.' [email protected] [rabbit-semi]" <[email protected]> Fri, 22 Jul 2016 08:29:50 +0200
Newsgroups gmane.comp.hardware.rabbit-semiconductor
Organization Cemit s.r.l.
Message-ID <[email protected]>
I've noticed the same issue. My application (run on a RCM3900,
compiled with DC 9.62) send UDP message events to a server. The
first one (and only that one) is lost, then everything goes well. I
never understood why.

Il 21/07/2016 23:55, Steve Trigero
seecwriter-/[email protected] [rabbit-semi] ha scritto:

UDP_VERBOSE
doesn't do anything. There is no output when it's
defined. I'm using your updated network library, so
maybe

something
happened there.

In any case,
after I ran my code in the debugger, it started
working. So I recompiled without debug code enabled
and reloaded

the program,
and now it works every time. Scary.

Slight
change of subject.

First,
what's the relationship between the number of UDP
sockets and number of UDP buffers? Since UDP is
connectionless, a

socket
for each potential device that may send a datagram is
unnecessary. But does that mean I could have one socket
with a bunch

of
buffers? A further explanation is, in a system we
typically have 5 sub-systems, with each sub-system
sending a broadcast UDP

datagram
of its status twice a second. The datagrams are around
150 bytes each. Each sub-system reads the datagrams and
collects

whatever
information it needs from the datagrams. So if there is
only one UDP socket and the Rabbit is processing one
datagram

when
another one arrives, or even two datagrams arrive, do
the new datagrams get put into unused buffers or are
they lost because

there
is not an unused socket available?

Steve

Marco Rossi

__._,_.___

----------

Posted by: "Marco Rossi | Cemit s.r.l." <[email protected]>
----------

Reply via web post

•

Reply to sender

•

Reply to group

•

Start a New Topic

•

Messages in this topic
(7)

----------

Save time and get your email on the go with the Yahoo Mail app

Get the beautifully designed, lighting fast, and easy-to-use Yahoo Mail today. Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

https://yho.com/1wwmgg

https://yho.com/1wwmgg

----------

Visit Your Group

https://groups.yahoo.com/neo;_ylc=X3oDMTJkMmZvbTNlBF9TAzk3NDc2NTkwBGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNDY5MTg0MzE1

• Privacy • Unsubscribe • Terms of Use

.

__,_._,___