lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #21307] tcp connect problem


From: Cui hengbin
Subject: [lwip-devel] [bug #21307] tcp connect problem
Date: Wed, 10 Oct 2007 02:40:28 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; (R1 1.5))

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/





reply via email to

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