Robert Wood wrote:
> Hmmmm. I seem to be wrong, It *does* send out the ACK. I took out these
> lines:
> strcpy(GetString,"GET /index.html HTTP/1.1\r\n");
> netconn_write(xNetConn,GetString,sizeof(GetString),NETCONN_NOCOPY);

As you seem to be trying to implement a HTTP client: are you familiar with the 
HTTP protocol? I'm not sure the single line is enough for HTTP 1.1 (it should 
be for 0.9), but at least you need a double line-break to inform the server 
that this is the end of the HTTP header.

I'd suggest reading a bit more on  HTTP.

Simon

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to