This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: blocking connect()
- To: Robert Collins <robert dot collins at itdomain dot com dot au>
- Subject: Re: blocking connect()
- From: stefan <stefan at lkcc dot org>
- Date: Thu, 5 Oct 2000 10:25:23 +0200 (CEST)
- cc: cygwin at sources dot redhat dot com
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
cyg_fcntl_o_nonblock.diff.gz
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com