[Top][All Lists]

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

Re: getsockopt error

From: Samuel Thibault
Subject: Re: getsockopt error
Date: Thu, 11 Jan 2018 17:02:45 +0100
User-agent: NeoMutt/20170113 (1.7.2)


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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]