> Big Fat Warning! This is not how it works! You are cleary violating
> threading rules here!!! Don't ever access the pcb from a different
> thread than the tcpip_thread or you will get random results!
This poses some more questions...
Until now I used:
conn->pcb.tcp->state : to print the state of my connections
conn->pcb.ip->ttl : as a replacement of SOCKET_SO_IP_TTL
conn->pcb.tcp->keep_idle: as a replacement of SOCKET_SO_KEEPALIVE
I think the first one I got from this list because I asked for a way to
get the TCP state.
The other two I use because I don't use the socket-API and have disabled
it but still need to present a set_sock_opt sort of fuction to the
outside.
Any ideas how I can make that work (even though it all worked until now)?
Like I said, I'd be willing to send patches to get accepted so that I can
use a vanilla release some day.
kind regards,
Fabian
ps: Simon, we could do a hack-end on LwIP, if you work on LwIP on
weekends. I'm only about 10km away...
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users