On 1/12/20 9:19 AM, Mark Rivers wrote:
>> When combined with a lack of coordination within the implementations, each process with both a PVA client and server will always bind twice to 5076.
> Is that is what is causing the "Error binding" message? What PVA client would they be running. They are running the PVA server in base 7, including qsrv.
This is, and always has been, happening on all targets.
It should not be causing a problem if all sockets bound to 5076
set the SO_REUSEADDR (or sometimes SO_REUSEPORT) socket option.
This is 'epicsSocketEnableAddressUseForDatagramFanout()' in Base.
vxWorks currently uses the posix version.
https://github.com/epics-base/epics-base/blob/468f965dc2753e7a381dcc09dd9b5656e3149ac2/modules/libcom/src/osi/os/posix/osdSockAddrReuse.cpp#L42
While I would expect this would have been noticed before now,
one possibility is that SO_REUSEADDR doesn't have the desired effect
on vxWorks. At least not for UDP sockets.
There is no test coverage, and CA has never needed it to work on this OS.
- Replies:
- Re: Error message binding socket 5076 on vxWorks Michael Davidsaver via Core-talk
- References:
- Error message binding socket 5076 on vxWorks Mark Rivers via Core-talk
- Re: Error message binding socket 5076 on vxWorks Michael Davidsaver via Core-talk
- Re: Error message binding socket 5076 on vxWorks Mark Rivers via Core-talk
- Re: Error message binding socket 5076 on vxWorks Michael Davidsaver via Core-talk
- Re: Error message binding socket 5076 on vxWorks Mark Rivers via Core-talk
- Navigate by Date:
- Prev:
Re: Error message binding socket 5076 on vxWorks Mark Rivers via Core-talk
- Next:
Re: Error message binding socket 5076 on vxWorks Michael Davidsaver via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Error message binding socket 5076 on vxWorks Mark Rivers via Core-talk
- Next:
Re: Error message binding socket 5076 on vxWorks Michael Davidsaver via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|