[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] lwip and microblaze

From: Sergio R. Caprile
Subject: Re: [lwip-users] lwip and microblaze
Date: Fri, 06 Mar 2015 09:42:50 -0300
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Your problem is not with lwIP or the microblaze.
To "Connect to a web api" you need to know what the web api does and do
what it expects you to do. The only thing that this shares with a web
server is that maybe both will use TCP port 80 and maybe both will talk
HTML at some point.
You will choose an lwIP API, you will open a TCP connection on
destination port 80 (assuming it uses the standard port for http) to the
host hosting the web api of your interest, and you will parse its
responses and send whatever you want/need to send.
There are examples on using TCP in the contrib tree


reply via email to

[Prev in Thread] Current Thread [Next in Thread]