Stellaris® ARM® Microcontrollers
Forum
Options
Subscribe via RSS
tcp/ip connection problem
tcp/ip connection problem
Posted by
Manta
on
Jan 06 2010 05:30 AM
Prodigy
50
points
Dear Stellaris® community,
I´m working on a project with the "Stellaris® Ethernet-enabled Intelligent Display Module with PoE RDK" (LM3S6918).
I’m using the software "KEIL" to write my programs and the JTAG to put them in the controller.
I´m trying to do a tcp/ip connect with a database. However, before I can do that I have to do the connection. So here is the problem. Which steps do I have to do to do a connection to a server somewhere in a intranet. I have read a lot of things and I decided to use the lwIP stack to do this. However, actually my question is how do I have to do this? So what I want to know are the steps which are necessary to do a connection with the lwIP stack and a database server. I myself would solve my problem like this:
1. initialize the stack
2. initialize/set the networkinterface
3. open a tcp connection to a specific IP adress and the port 3306 (mysql database)
4. do the database queries and other stuff
5. close the connection
Am I right when I do this like my 5 steps abov or do I have to do other things too?
regards, Manta
Report Abuse
Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.