Maybe there is a problem with your mbox mechanism, because usually the socket functions are waiting for confirmation from tcp/ip thread via semaphore or message queue. I do not know how is handled the non-blocking socket exactly.
So in case your socket is non-blocking I would expect a problem with your message/mutex system. Best Martin On Mon, May 27, 2013 at 8:12 AM, Laurent <lambert.lauren...@gmail.com> wrote: > No there is a copy done ( i think in do_write or do_partly_write). I'm using > a TCP connection. > > The problem is that the copy is done in the TCPIP_thread and that it's done > asynchronously to the execution of the application thread. > > > > -- > View this message in context: > http://lwip.100.n7.nabble.com/Socket-Api-send-copy-tp21449p21456.html > Sent from the lwip-users mailing list archive at Nabble.com. > > _______________________________________________ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users