I'm looking to the netconn interface and I don't completely understand the semantic of the netconn_write.The signature of the function is:
err netcon_write(struct netcon * aNetcon, void* aData, size_t, aSize, u8_t API_Flags);
With the NETCONN_NOCOPY flag, the data should remain unattached until it has been transmitted.
Therefore, what mechanisms can I use to know when a sent buffer can be reused in a safe way?