Re: [lwip-users] Failed to send TCP data

2014-09-17 Thread Sergio R. Caprile
Your code is too long for me to try to figure out which API you are using and follow your approach. In case you are using the raw API, please check the wiki, and then your code, and if something is not clear then come back to us. I'll try to help http://lwip.wikia.com/wiki/Raw/TCP

[lwip-users] Failed to send TCP data

2014-09-15 Thread Gavin
Hi, I have one question about TCP sending. I refer to tcpecho sample and rewrite to a client application for TCP sending. In my case, it only can send data twice successful and always failed at the third time. Here is my test code. void test_package(void) { struct lan_state *ls;