[ds6-devel] unsupported sock warning

Chris Leishman chris@leishman.org
Sun Dec 29 15:20:14 2002


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?

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"?

Regards,
Chris



More information about the ds6-devel mailing list