Hi, On Wed, Aug 08, 2012 at 06:14:52AM -0700, H.A. wrote: > > Do you mean that I should check if the connection is open in the interrupt > routine? If open send the message. If not open, open the connection, return > and let the connect callback send the message? Can the connection be closed > between the check and the transmit inside the interrupt routine? Is this mix > of different contexts really safe?
Of course not ! You have to read lwip/doc/rawapi.txt in order to understand how to use lwIP with threads. Sylvain
signature.asc
Description: Digital signature
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users