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 _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
