Forum Discussion
Altera_Forum
Honored Contributor
16 years agoTCP Client using lwIP API
Hi, I am really looking for some help in how to write code for my FPGA board(nanoboard 3000) for implementing a TCP Client using lwIP API using the commands like netconn_connect() and so on. I fou...
Altera_Forum
Honored Contributor
16 years agoI'm confused by "TCP client". Can you be more specific? What is the server responding to? lwIP supports TCP clients and servers both using it's low-level (RAW) API, a middle level API Netconn and the highest level as sockets.
The choice of API depends mainly on 2 things: 1. Are you using an OS? 2. What is your performance requirement? But you're going in the right direction - you use connect and when you're informed of the connection (API-specific) you make requests from the server - this is application dependent unless you're talking about known servers like HTTP or FTP etc. Here are 3 good references: the lwIP users WEB page, Wiki and user email list sign up: https://savannah.nongnu.org/projects/lwip/ http://en.wikipedia.org/wiki/lwip http://lists.nongnu.org/mailman/listinfo/lwip-users The last link is where you sign up for joining the lwIP user mailing list which then allows you to post and receive email from other users and developers. Bill