|
From: | Reither Robert |
Subject: | [lwip-users] Missing Ack at TCP connection init using socket interface |
Date: | Mon, 5 Sep 2005 13:55:15 +0200 |
Hi lwip-users!
I'm quite fresh at LWIP (and tcpip too) and run into a problem with a missing Ack from the connection starter.
What i want is to open a connection to a webserver, send a GET and read data
OK what i do:
Calling lwip_socket()
calling lwip_connect()
calling lwip_send() .. Sending Get
calling lwip_read() .. get data from webserver
What i get on wire (with etheral) was a SYN->
<-SYN,ACK
!!Missing!! ACK ->
GET-cmd
What is missing, is the final ACK from the connection starter, to open the connection.
If i do a wait after the connect (>200ms), the ACK will be sent. Looks like i need to wait for a "fine grained timeout", where the ACK will be sent.
I guess this is not normal behaviour, can somebody tell me what i did wrong or maybe the stack ?
Greetings
Robert
[Prev in Thread] | Current Thread | [Next in Thread] |