Open avb next

Ive changed mrpd_recvmsgbuf to be non-blocking. Sometimes FD_ISSET would report that there was a packet to be received, and then I would get stuck on recvmsg. 

From select() manual we have this:
Under Linux, select() may report a socket file descriptor as "ready for reading", while nevertheless a subsequent read blocks.  This could for example happen when data has arrived but upon examination
       has wrong checksum and is discarded.  There may be other circumstances in which a file descriptor is spuriously reported as ready.  Thus it may be safer to use O_NONBLOCK on sockets  that  should  not
       block.
On 9/8/2014 2:41 PM, David Cemin wrote:
>
> In daemons/mrpd/mrpd.c:
>
> > @@ -397,7 +401,22 @@ int mrpd_recvmsgbuf(int sock, char **buf)
> >  	msg.msg_namelen = sizeof(client_addr);
> >  	msg.msg_iov = &iov;
> >  	msg.msg_iovlen = 1;
> > -	bytes = recvmsg(sock, &msg, 0);
> > +	/* Non-blocking sockets. */
> > +	bytes = recvmsg(sock, &msg, MSG_DONTWAIT);
> > +
> > +	if (bytes < 0) {
>
> Yes, its a good idea. I implemented that. Thanks!
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/AVnu/Open-AVB/pull/84/files#r17257897>.
>

Merged.

-- 
Andrew Elder
AudioScience, Inc.
+1-585-271-8870
www.audioscience.com