[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] tcp_recv
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] tcp_recv |
Date: |
Mon, 6 Sep 2010 16:25:58 +0100 |
On 6 Sep 2010, at 09:08, Teckinal Greek wrote:
> Hi,
> can anybody provide an example of how to implement the functions tcp_recv()
> and tcp_recved(), I wanted to read the data what the Server is sending to the
> Client and display it on my client machine using simple printf statement. Any
> basic example would do, especially when should I call tcp_recv on my client
> side code.
Call tcp_recv() to set the callback function you want to be invoked when data
are received. Call tcp_recved() to free a pbuf back to the stack after you've
finished processing it. There should be examples in the contrib module.
Kieran