Thanks for pointing me to the example in lwIP.pdf
I copied the example from the lwIP.pdf verbatim into a test function
that I execute twice. The second time through I get an exception in
netconn_bind().
The exception occurs in the first 'for' loop in tcp_bind().
The cause of the exception is cpcb->next ends up as 0x00000400 instead
of NULL.
for(cpcb = (struct tcp_pcb *)tcp_listen_pcbs.pcbs;
cpcb != NULL; cpcb = cpcb->next) {
That's as far as I've debugged for now.
Any ideas as to where I should look next?
I am using the raw API as well as the netconn API. Is this allowed?
I first open a listening port using the raw API, then attempt to open
and close another listening port using the netconn API as described
above.
-Dave
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users