EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c
From: Andrew Johnson <[email protected]>
To: Michael Davidsaver <[email protected]>, Heinz Junkes <[email protected]>, <[email protected]>
Date: Thu, 20 Apr 2017 11:21:11 -0500
On 04/20/2017 10:19 AM, Michael Davidsaver wrote:
> I see that linux (circa 3.16) will accept either 'int' or 'char' for
> IP_MULTICAST_LOOP.  Also for most other integer flags.
> 
> I find references which suggest that winsock wants BOOL (which I assume
> is 'char').
> 
> However, vxworks 5.5 clearly spec's 'int'.
> 
> http://www.vxdev.com/docs/vx55man/vxworks/ref/sockLib.html

But as long as we're talking about Base-3.16 we don't have to support
VxWorks 5.5 at all. Wind River completely replaced the network stack in
VxWorks 6.x, and the newer stack looks like it will support either int
or char (there's code in setsockopt() for IP_MULTICAST_LOOP which
appears to handle both sizes, although they haven't updated the docs to
actually say that).

> Seems like the IP_MULTI* socket options need unit-test coverage.  (maybe
> add to blockingSocketTest.cpp ?)

Agreed, and that seems like the right place for it.

- Andrew

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

Replies:
RE: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Williams Jr., Ernest L.
References:
RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Heinz Junkes
Re: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Heinz Junkes
Re: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Michael Davidsaver

Navigate by Date:
Prev: Re: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Michael Davidsaver
Next: Build failed in Jenkins: epics-base-3.15-win32 #275 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Michael Davidsaver
Next: RE: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Williams Jr., Ernest L.
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·