lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] tcp connect timeout


From: ramash
Subject: [lwip-devel] tcp connect timeout
Date: Wed, 26 Mar 2008 02:31:22 -0700 (PDT)

Hi all,
    I have been using LWIP version 1.1.2 for PPP over serial port.I am using
LWIP code as server and VC++ code for client.In my client code i need to
give connect() function in a while(1) loop,this is for three reasons
1.The initial handshaking for PPP that is the lcp ,ipcp packets takes time
2.The lwip takes time to process connect packet from client code in its
lower lever API libraries
3.Time out at the client side.

If i am not giving connect in client code it returns -1,as the accept is not
received not in time.
Kindly suggest to avoid while(1) loop.
Thanks in advance 
-- 
View this message in context: 
http://www.nabble.com/tcp-connect-timeout-tp16297927p16297927.html
Sent from the lwip-devel mailing list archive at Nabble.com.





reply via email to

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