[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Allocate a netbuf to send with netconn_write
From: |
markus . forrer |
Subject: |
[lwip-users] Allocate a netbuf to send with netconn_write |
Date: |
Wed, 2 Oct 2013 11:33:02 +0200 (CEST) |
I want to send a TCP/IP message with netconn_write. Before that I need to
prepare the data I have to send.
For that reason I want to allocate a netbuf with the maximum block size,
because I don't know the exact size of the send data. How can I do that? Is
there an example (allocate netbuf, send, free buffer)?
Thanks a lot for ideas.
Best regards.
Markus
- [lwip-users] Allocate a netbuf to send with netconn_write,
markus . forrer <=