This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LWIP Can't Connect to Remote Server

Hi. My code is raw tcp/ip client application. It can connect local server on my computer frequently but it can't connect to remote server "sometimes (about 2/3 ratio) " . Remote server is working properly, I guarantee by connecting my computer with simple socket application. If I try to execute TCP_WRITE function, return error 13 so connection error.

 

I think that My device can't get ACK in timeout or I don't know.

 

How can ı solve this ?

 

My device is LPC1769. I use changed LPCopen TCP/IP Server App to client version by myself.

I add some code block related with changed from lpcopen example. 

I attach my lwipopt.h, that options can execute webserver application with 70kb webpage very fast.

My pcb is blocked at echo_pcb->state = SYN_Sent. It can't get ACK

0