[lwip-users] Struggleing to build a TCP echo server
From:
Chen
Subject:
[lwip-users] Struggleing to build a TCP echo server
Date:
Wed, 04 Feb 2009 13:13:45 -0500
Hi, there,
I am a newbie to lwIP
To start, I'd like to build a simple TCP echo server.
I used Rabbit's Dynamic C TCP/IP and finished a product based on that
before, so I know the basic of TCP to certain degree.
I couldn't find the complete documentation of lwIP, so I was just reading
the lwIP sample project from ATMEL's website. Although the sample
demonstrated a combined services of HTTP/TFTP/SMTP, they all dealt with
socket/netif directly, which I am not familiar with, not a single sample
project calls tcp_* raw APIs, so I am having trouble to extract the
pieces to make a TCP echo server.
I'v been struggling on this path for over a week, I wonder if anyone here
is willing to show me some codes utilizing tcp_* raw APIs to get me
started? If you have samples using other APIs to build a TCP echo server,
I will also appreciate it
I am using AVR32 on EVK1100, but there is no need to be platform
specific, a general/working lwIP sample on any platform will help.
Also, is there a place I can purchase/download the full documentation of
lwIP?