lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] When TCP connection fails


From: Jeff Barber
Subject: Re: [lwip-users] When TCP connection fails
Date: Fri, 13 Nov 2009 11:08:01 -0500

On Fri, Nov 13, 2009 at 9:54 AM, address@hidden <address@hidden> wrote:
> JM wrote:
>> Also, I looked in the rawapi.txt file and found this, which further
>> confuses me:
>>
>>  The tcp_connect() function returns immediately; it does not wait for
>>  the connection to be properly setup. Instead, it will call the
>>  function specified as the fourth argument (the "connected" argument)
>>  when the connection is established. If the connection could not be
>>  properly established, either because the other host refused the
>>  connection or because the other host didn't answer, the "connected"
>>  function will be called with an the "err" argument set accordingly.
>>
> Yeah, that's a bit confusing... I think I remember having a bug report for
> that. That has been fixed with 1.3.1, though. You should probably update
> from 1.3.0 (or whichever old version you are using) to 1.3.1 (or even 1.3.2
> RC1).

Just to be clear: what has been fixed in 1.3.1 is the documentation;
it now accurately describes the behavior, which is still that the
error callback is invoked on failure.

Jeff




reply via email to

[Prev in Thread] Current Thread [Next in Thread]