[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getsockopt error



Ferenc Wágner, on ven. 12 janv. 2018 01:25:15 +0100, wrote:
> Samuel Thibault <samuel.thibault@gnu.org> writes:
> > Ferenc Wágner, on ven. 12 janv. 2018 00:03:21 +0100, wrote:
> >
> >> Samuel Thibault <sthibault@debian.org> writes:
> >>
> >>> Ferenc Wágner, on jeu. 11 janv. 2018 16:13:21 +0100, wrote:
> >>>
> >>>> 	s = socket (AF_UNIX, SOCK_STREAM, 0);
> >>>> 	rc = getsockopt (s, SOL_SOCKET, SO_SNDBUF, &optval, &optlen);
> >>>>
> >>>> getsockopt: Protocol not available
> >>>
> >>> It hasn't been implemented in pflocal/ indeed. IIRC Svante started
> >>> something?  The get part should be quite easy, the set part is more
> >>> involved since that may have to wake writers.  That should be done in
> >>> S_socket_getopt and S_socket_setopt.
> >> 
> >> Thanks for looking into this.
> >
> > (note: I didn't add it to my TODO list which is already too full)
> 
> I didn't even dream of that.  But you did some research to find the
> answer to my question,

I didn't even research, I just vaguely remembered something and wrote it
down :)

Samuel


Reply to: