Re: async connect problem

From: Brian Buchanan (bwb_at_holo.org)
Date: 05/06/05

  • Next message: J.R. Oldroyd: "Re: async connect problem"
    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"


  • Next message: J.R. Oldroyd: "Re: async connect problem"

    Relevant Pages

    • Re: async connect problem
      ... On May 05, 19:39, Brian Buchanan wrote: ... > No, that's the correct behavior. ... > request without blocking because you were attempting a connection to the ...
      (freebsd-current)
    • Re: The Vinland Maps Ink
      ... > they satisfy my request for "a hypothesis which makes ... > your prediction. ... > example that would satisfy you. ... Evol. ...
      (sci.archaeology)
    • Java Soft-Real-Time Processor
      ... request will take no more than what the process specifies. ... programmer defines a timeout ... how can the Processor interrupt execution ... Process Stages are divided in two categories: blocking and non- ...
      (comp.realtime)
    • Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3
      ... VFS blocking, mutex/lock blocking, memory pressure ... them /all/ and never hold up the primary context: ... 'chunk' into one atomic step done in the 'syslet/threadlet request'. ... blocking in the syslet model - and real user-space servers will always ...
      (Linux-Kernel)
    • Re: Blocking IP Address does not work
      ... My guess is that you are blocking it, but only for some directories & across ... you block it from the machine or web level, ... > I am using NT4.0 and IIS. ... > My webserver is getting bombarded by many GET request for the home page ...
      (microsoft.public.inetserver.iis)