select on udp recvfrom doesn't work ???

Dave Cramer davec-zxk95TxsVYDyHADnj0MGvQC/G2K4zDHf at public.gmane.org
Tue Aug 10 21:25:03 UTC 2010


Is there some reason that doing using select does not see the data
coming to a udp socket that is not connected, but is bound and is
listening.

I am broadcasting data to the socket. I have confirmed that if I don't
use select that it receives data.

What I am trying to do is synchronize multiple linux embedded systems
to within 10ms. My thought is to use a UDP broadcast to start the
synchronization then use the internal clocks. If anyone has any
interesting ideas I'm open to suggestions.

Dave
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list