void netbuf_delete ( struct netbuf * aNetBuf );

Delete a netbuf object and deallocate all memory it owns, also the buffers associated with it. Note, however, that memory linked into a netbuf object using "netbuf_ref" is not freed.

  • in aNetBuf: netbuf object to delete. It could have been created with netconn_new, but also returned as out-parameter from netconn_recv.


void netbuf_free ( struct netbuf * aNetBuf );

Similrar to netbuf_delete. Deallocate the memory of the internal buffer, but do not kill the netbuf object itself. See also the advice concerning "netbuf_ref" above.

(last changed: Sept. 26, 2011)

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.