> From: Ángel González <[email protected]>

> I am getting a "ioctl() failed.  The socket could not be set as
> blocking." failure, though.
> I don't know what is exactly getting passed to it. ioctl() fails. So do
> ioctlsocket(fd, ) and
> ioctlsocket( _get_osfhandle (fd), )
> 

What's happening is that the gnulib rpl_select() rpl_socket() functions aren't 
used in connect because there are now checks for the autoconf HAVE_SYS_ defines 
before including sys/socket.h and sys/select.h (see 2569 VMS fix). 
AC_CHECK_HEADERS looks for sys/select.h and also it should look for 
sys/socket.h if those defines are needed. Maybe something like CFLAGS+=' -Ilib' 
to check gnulib but it's not going to be that simple..

Reply via email to