On Thursday 17 November 2005 16:41, Jeff Hill wrote:
> > >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.
Ok, thanks for this (and your other) explanation. I didn't know the
shutdown call. One more question: Can I assume that this call exists on
all suported target platforms?
Ben
- References:
- RE: R3.14.8 Status/logClient patch Jeff Hill
- Navigate by Date:
- Prev:
crash when exiting running softIOC as root Ernest L. Williams Jr.
- Next:
Re: R3.14.8 Status/logClient patch Benjamin Franksen
- 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: R3.14.8 Status/logClient patch Jeff Hill
- Next:
Re: R3.14.8 Status/logClient patch Benjamin Franksen
- Index:
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|