Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2000 11:24:11 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        <billf@FreeBSD.ORG>, pekkas@netcore.fi, freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/15414: syslogd -ss disables all network logging functions
Message-ID:  <200001141624.LAA85230@khavrinen.lcs.mit.edu>
In-Reply-To: <xzpiu0wohj9.fsf@flood.ping.uio.no>
References:  <200001140147.RAA23443@freefall.freebsd.org> <billf@FreeBSD.ORG> <xzpiu0wohj9.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On 14 Jan 2000 15:27:06 +0100, Dag-Erling Smorgrav <des@flood.ping.uio.no> said:

> from port 514, and there is no way to make the socket write-only
> (except maybe setting the receive buffer size to 0... I'll have to try
> that).

shutdown(s, SHUT_RD) ought to do it -- but I'm not sure whether it
will work correctly or not.  Setting the buffer size to zero should
fail with EINVAL.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001141624.LAA85230>