Re: [lwip-users] TCP connection problem

2013-07-12 Thread Pomeroy, Marty
>> Thanks for reply, Marty. >> But how can I definitively close the old connection and begin a new connection ? Flavio You're welcome, but you can't force a socket fully closed quickly. To connect on the same port, you just have to wait four minutes. Microsoft says you can get that down to 3

Re: [lwip-users] TCP connection problem

2013-07-12 Thread flavio
Pomeroy, Marty writes: > > > Install tcpview on your server, and see if the connection is in TCP > TIME_WAIT state, preventing connections on PORTA until it expires. > Thanks for reply, Marty. But how can I definitively close the old connection and begin a new connection ? ___

Re: [lwip-users] TCP connection problem

2013-07-12 Thread Pomeroy, Marty
Install tcpview on your server, and see if the connection is in TCP TIME_WAIT state, preventing connections on PORTA until it expires. ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] TCP connection problem

2013-07-12 Thread flavio
Please, can someone help me ? I'm using lwIP 1.3.2 (NO_SYS=1) on LM3S9B96 Stellaris Cortex M3 and want to use the controller working as a client. My implementation works fine while the server (PC) is waiting for the connection, and the client (my controller) connects, read (and write) datas and

Re: [lwip-users] lwipopts.h, how to enlarge send and receive packet size

2013-07-12 Thread Peter LM
Hi, LP/李 wrote > Is my comprehension above correct? No, I suggest you to read http://lwip.wikia.com/wiki/Lwipopts.h To resume it depend on which type of pbuf you alloc. For instance, in my case I am using pool-pbuf type, therefore two define are very i

Re: [lwip-users] Compiler warning

2013-07-12 Thread Peter LM
It's strange because I am using exactly the same release than you with the same paths (and I guess you use GCC as compiler ? ) but I don't get any warning. The only difference is our hierarchy but It should work since you precised entire dir in paths... I quickly checked and it is not a referenced

Re: [lwip-users] Compiler warning

2013-07-12 Thread pierre-yves.boisbunon
Hi Peter, I keep the same hierarchy than the zip available here: http://download.savannah.gnu.org/releases/lwip/lwip-1.4.1.zip : + UPGRADING + README + FILES + COPYING + CHANGELOG + test/ + src/ + doc/ There should not have any difference to move src/ folder on top of LWIP_LIB_DIR path, it's full