EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  2025  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  2025 
<== Date ==> <== Thread ==>

Subject: Re: Weird CAS hangup on IOC
From: Ralph Lange via Core-talk <core-talk at aps.anl.gov>
To: EPICS Core Talk <core-talk at aps.anl.gov>
Date: Fri, 7 Feb 2020 16:40:50 +0100
On Fri, 7 Feb 2020 at 16:22, Torsten Bögershausen <Torsten.Bogershausen at ess.eu> wrote:

> Does calling listen() twice work? Does it do any harm?

No - yes.

I think this is what happens today - 2 processes listen to the same socket.

There can only be one, so the second one fails, right.


Almost.
Now: the second process trying to call listen() on a (different) socket that is bound to the (same) address fails.

My question: does it harm for the same process to call listen() on the same socket twice.

Cheers,
~Ralph


References:
Weird CAS hangup on IOC Ralph Lange via Core-talk
Re: Weird CAS hangup on IOC Michael Davidsaver via Core-talk
Re: Weird CAS hangup on IOC Ralph Lange via Core-talk
Re: Weird CAS hangup on IOC Michael Davidsaver via Core-talk
Re: Weird CAS hangup on IOC Ralph Lange via Core-talk
Re: Weird CAS hangup on IOC Torsten Bögershausen via Core-talk
Re: Weird CAS hangup on IOC Ralph Lange via Core-talk
Re: Weird CAS hangup on IOC Torsten Bögershausen via Core-talk

Navigate by Date:
Prev: Re: Weird CAS hangup on IOC Torsten Bögershausen via Core-talk
Next: announcing PVXS Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  2025 
Navigate by Thread:
Prev: Re: Weird CAS hangup on IOC Torsten Bögershausen via Core-talk
Next: Re: Weird CAS hangup on IOC Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  2025