[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] pcb closed in the TIME_WAIT list of pcbs ????
From: |
Sergio PérezAlcañiz |
Subject: |
[lwip-users] pcb closed in the TIME_WAIT list of pcbs ???? |
Date: |
Thu, 27 Feb 2003 11:34:21 +0100 (CET) |
User-agent: |
IMP/PHP IMAP webmail program 2.2.3 |
Hello! Something extremely interesting happens to me, and is this: debugging my
application I see this message:
TIME-WAIT PCB states:
Local port 0, foreign port 0 snd_nxt 0 rcv_nxt 0 State: CLOSED
which is printed by means of tcp_debug_print_pcbs(void). But, in the code I see:
int
tcp_pcbs_sane(void)
{
struct tcp_pcb *pcb;
................
for(pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) {
----------->>> ASSERT("tcp_pcbs_sane: tw pcb->state == TIME-WAIT", pcb->state
== TIME_WAIT);
}
...........................
return 1;
}
I've commented the lined marked (--->>) because it exits the program. So, what
is happening???????? Why do I have a pcb with state closed in the time wait list
????? Thank by advance.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] pcb closed in the TIME_WAIT list of pcbs ????,
Sergio PérezAlcañiz <=