EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  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: Force TCP/IP reconnect from Asyn/Streamdevice
From: Christoph Schroeder <[email protected]>
To: <[email protected]>
Date: Tue, 23 May 2017 10:21:24 +0200
Hi all,

I am currently struggling with a TCP/IP controlled device that has
problems with it's network stack or it's server implementation. After
some spurious retransmissions, which occurs several hours after the
connection was established, the device gives up and sends a TCP reset.
No communication after this point.

I am looking for a feasible workaround until the manufacturer can fix
this problem. Is there any way to force a reconnect of the TCP/IP
connection from Streamdevice context which I am currently using or at
least from Asyn? I would like to do this from software side without
rebooting the IOC e.g. with a cronjob.

Note: the connection still counts as "established" as shown by netstat
after the reset was received which is the reason why the autoconnect
option of drvAsynIPPortConfigure doesn't work in this case.

Thanks and best regards,

Christoph


________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (kommissarisch), Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de

Replies:
Re: Force TCP/IP reconnect from Asyn/Streamdevice Torsten Bögershausen

Navigate by Date:
Prev: Re: Disabling a record from scanning during a program event Johnson, Andrew N.
Next: Re: Force TCP/IP reconnect from Asyn/Streamdevice Torsten Bögershausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  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: Disabling a record from scanning during a program event Iain Marcuson
Next: Re: Force TCP/IP reconnect from Asyn/Streamdevice Torsten Bögershausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024