2002 2003 2004 <2005> 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 2002 2003 2004 <2005> 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: R3.14.8 Status/logClient patch |
From: | "Jeff Hill" <[email protected]> |
To: | "Benjamin Franksen" <[email protected]>, <[email protected]> |
Date: | Thu, 17 Nov 2005 08:41:00 -0700 |
> >Could you plese elaborate what you meant with shutdown for read or write > >end of socket? I can't see how to do more than call epicsSocketDestroy. > > You could call "shutdown ( sock, SHUT_RD)" since messages are never read from this socket. That frees up a few resources in the IP kernel and makes the IOC somewhat more immune to external tampering. With a client side TCP socket I believe that this would need to be done immediately after the socket connects - or reconnects. Jeff