Re: async connect problem
From: Brian Buchanan (bwb_at_holo.org)
Date: 05/06/05
- Previous message: J.R. Oldroyd: "async connect problem"
- In reply to: J.R. Oldroyd: "async connect problem"
- Next in thread: J.R. Oldroyd: "Re: async connect problem"
- Reply: J.R. Oldroyd: "Re: async connect problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 5 May 2005 19:39:02 -0700 (PDT) To: "J.R. Oldroyd" <fbsd@opal.com>
On Thu, 5 May 2005, J.R. Oldroyd wrote:
> Isn't our behaviour wrong...
>
> On 6-current, the program below prints:
> connect: Connection refused
>
> Shouldn't it print:
> connect: Operation now in progress
No, that's the correct behavior. The system was able to satisfy your
request without blocking because you were attempting a connection to the
loopback, so connect() returned immediately with errno == ECONNREFUSED.
- Brian
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: J.R. Oldroyd: "async connect problem"
- In reply to: J.R. Oldroyd: "async connect problem"
- Next in thread: J.R. Oldroyd: "Re: async connect problem"
- Reply: J.R. Oldroyd: "Re: async connect problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|