Re: errors in implementation of timed (nonblocking) TCPconnect

[email protected]
Newsgroups gmane.lisp.scheme.bigloo
Organization Inria
Message-ID <[email protected]>
Hi Robert,

> Hi Manuel,
> 
> if I open a TCP connection with connection timeout,
> 
>  (make-client-socket host port :timeout 500000)
> 
> and the host can be resolved but blocks the given port (i.e. immediate
> connection error in nonblocking mode),
> 
> then I will always get errors like this from the current (4.2c) Bigloo
> implementation with C backend:
> 
> Operation now in progress (115) -- 127.0.0.1:1234
> 
> This is true regardless of the actual cause (EAFNOSUPPORT, EAGAIN,
> EALREADY, EBADF, ECONNREFUSED, EFAULT, EISCONN, ENETUNREACH, ETIMEDOUT).
> 
> See below for a patch that corrects this problem (and related ones).
May thanks for the patch that I have now applied. I will prepare a new
version right away.

Cheers,

-- 
Manuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.