URL:
<http://savannah.nongnu.org/bugs/?21307>
Summary: tcp connect problem
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: phant
Submitted on: Wednesday 10/10/07 at 02:40
Category: TCP
Severity: 3 - Normal
Item Group: Change Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
Hi all:
I use the new version from cvs.but find when use tcp
connect,only two handshake,SYN->SYN+ACK,not send ACK,I change
the tcp_process function as
follow:
tcp_process(struct tcp_pcb *pcb)
{
...
switch (pcb->state)
{
case SYN_SENT:
...
tcp_ack(pcb);
...
break;
case SYN_RCD:
...
}
I change "tcp_ack(pcb)" to "tcp_ack_now(pcb)",it can generate
three handshake,do you agree?
}
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21307>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel