[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] sending from pre-built buffers using TCP sockets
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] sending from pre-built buffers using TCP sockets |
Date: |
Sun, 14 Mar 2010 19:42:52 +0000 |
On 14 Mar 2010, at 01:44, Tyrel Newton wrote:
> For TCP sockets, it appears the socket send function (lwip_send) sends the
> user-specified buffer by copying it to internally allocated buffers contained
> within the lwIP stack. Is this a correct statement? And is it possible to
> send a user-specified buffer by referencing the buffer directly when using
> TCP sockets? Or would I have to drop down to the netconn level and use it
> directly? I believe the answer is 'no' because the lwip_send function appears
> to always pass the NETCONN_COPY flag to the netconn_write function.
Yes, you're right on all counts.
Kieran