Scott,
Even if there are some HTTP shared libraries available in the net, you can
connect to a web server just using the server IP, port, and sending the
appropriate command to get the web page.
I have not done it using the NetLib, but another shared library just to
wrap netlib functions.
There is a complete explanation in RFC2616 (HTTP spec).
Just open the conection to the server and send this command:

GET /mypage.html HTTP/1.0
host: www.somehost.com
port: 80

The server will answer this with a HTTP header and the page you requested.
Normally the header ends with a couple of CRLF before the data.
You can test this in POSE and a web server in the same machine, where the
host is "localhost".
Your page does not need to be in html format, it is enough to be text
without any tags, or even created by an asp script, ie:

varname1=data
varname2=data

Hope its help
Regards
Oscar


> What I'm looking to do is have my palm application connect to a website
> that
> holds a set of strings.  I need to download this data and store it in the
> device.  Anyone that has been reading my other posts will know what im
> talking about, the page is a list of scan strings.  The only thing on the
> page is the ASCII strings that represent the different scan strings.  Ive
> been reading through the NetLib documentation and am having problems
> finding
> the right solution.  Right now my problem is that I know how to connect to
> a
> given IP address, but im not finding anything that allows me to connect to
> a
> http webpage instead of a IP.  I would be greatful if someone can help me
> get the right API functions to direct the connection to a webpage instead
> of
> just an IP address.  Thanks for any help.
>
> --
>
>
> Scott Erickson
> Software Development Team, FB-4, Inc.
> [EMAIL PROTECTED]
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to