blocking connect()

stefan stefan@lkcc.org
Thu Oct 5 02:34:00 GMT 2000


On Mon, 2 Oct 2000, Robert Collins wrote:

> CVS? For cygwin itself I presume. Yes see the cygwin website. "Source in
> CVS"
Well, i got it.

> What is the usual build process? For cygwin itself I presume. Make a
> directory for building in.. ie cygbuild. then run ../cygwin/configure and
> then make
I did so, too. Eventually it built itself for an hour or something likely.
The only problems were:
/home/cygbuild/src/libiberty/strsignal.c:5: ansidecl.h: No such file or directory
/home/cygbuild/src/libiberty/strsignal.c:6: libiberty.h: No such file or directory
I had to copy these files somewhere. Not really a problem, but annoying
anyway.

> Am I interested in helping alter ioctl to do non-blocking? Yes. Do I have
> time (Why haven't I done it myself yet?) Not really but lets see what
> happens.
I have written some kind of patch, but not sure if this is what you want.
Anyway, within the attachment is the `diff' for the CVS from 2000/10/02
which allows you to fcntl (fd, F_SETFL, O_NONBLOCK). It worked for my
`hanging.c' i posted previously and for the original program i wanted to
work, too.

Please tell me, if you can make use of it ?!

stefan@lkcc.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyg_fcntl_o_nonblock.diff.gz
Type: application/x-gzip
Size: 2102 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20001005/4700cb4e/attachment.bin>


More information about the Cygwin mailing list