[ds6-devel] unsupported sock warning
Mauro Tortonesi
mauro@deepspace6.net
Sun Dec 29 17:55:54 2002
On Sun, 29 Dec 2002, Chris Leishman wrote:
> In the updated network.c:
>
> if (unsupported_sock_error(errno)) {
> /* maybe tell the user that this behaviour is
> * related to a weird implementation of
> * getaddrinfo on his system? */
> warn("cannot create the socket: %s", strerror(errno));
> errno = 0;
> continue;
> }
>
> Is there any need for this warning at all? We're realised that the
> socket isn't supported on the platform and dealt with it....so why
> bother the user?
you're right.
> If you think we do need it, then perhaps it should be only shown in
> very verbose mode? And perhaps rewrite it to "cannot create socket
> with family %d, socktype %d and protocol %d"?
i don't know. do you think that we should simply remove the warning or
leave it only in very verbose mode?
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi mauro@deepspace6.net
mauro@ferrara.linux.it
Deep Space 6 - IPv6 on Linux http://www.deepspace6.net
Ferrara Linux Users Group http://www.ferrara.linux.it
More information about the ds6-devel
mailing list