lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Half-Open detecting


From: Steven Woody
Subject: Re: [lwip-users] Half-Open detecting
Date: Thu, 21 Apr 2011 22:14:35 +0800

On 21 April 2011 22:04, Kieran Mansley <address@hidden> wrote:
> On Thu, 2011-04-21 at 21:45 +0800, Steven Woody wrote:
>>
>> I was reading the code, my understand is:  when a new SYN comes, my
>> old pcb must be in active pcbs list, so the new coming SYN will not
>> get matched in this list, and it also impossible getting match in
>> listen queue or tw queue. So, this SYN will be dropped.  Am I
>> understand right?
>
> An incoming SYN where you have nothing that matches in the
> tcp_listen_pcbs listen will get (I think, from memory) a TCP reset
> packet sent in response.  If you want to be notified of the SYN you have
> to have a listening PCB.

What mean I have to have a listening PCB?  I had ever had it, but it
comes a active pcb, when the tcp_accept() get called and succeed.

>
> Kieran
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>



-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (address@hidden)



reply via email to

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