Using NetLib does *not* mean that you are not using proxy. What are you
trying to acheive? INetLib has many good features like LZ77. But if
you try to use INetLib without a proxy (inetCfgDefWireline etc...) you will
not
get any of those features. If you just want to do HTTP over an regular
TCP/IP
connection and don't want to worry about proxy, you should think about using
NetLib directly. Someone had posted even a source code a while back (Dec
2000)
in this newsgroup. HTTP protocol is very simple.
1. Open a socket to the host's port 80.
2. Write "GET /myurl/myfile HTTP/1.0\r\n\r\n" to the socket and read what
you get from it.
3. Or write "POST /myurl/myfile HTTP/1.0\r\n\r\nx=y&a=b&c=d" (where the last
part is your URL encoded data) to the socket and read what you get as
response.

"Kiet T. Tran" <[EMAIL PROTECTED]> wrote in message
news:47141@palm-dev-forum...
>
> Hi Ajit-
>
> I'm running into the problem you're asking and have not received any
> positive response yet. Here is what I've found.
>
> Based on the sdk doc, INet is based (or using) Net library. If so,
> connecting it without proxy should be possible since I've been testing my
> code using Net via POSE and it's worked fine. I'm really confused and
wonder
> if anyone at PALM can answer the question clearly so we can move on.
>
> BTW, I got INetLow example to work with PROXY.
>
> Thanks!
>
> Kiet.
>
> >>-----Original Message-----
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED]]On Behalf Of Ajit
> >>N.K
> >>Sent: Thursday, April 26, 2001 3:21 AM
> >>To: Palm Developer Forum
> >>Subject: InetLib for Internet Connectivity.
> >>
> >>
> >>hi evrybody,
> >>
> >>I have a few doubts about using InetLib for Internet Connectivity..
> >>
> >>1)Which devices r capable of retrieving data (raw or palm
> >>displayable) from
> >>a given URL
> >>
> >>2)Does access to Palm.net proxy servers absolutely necessary in
> >>order to do
> >>this ?
> >>
> >>3)Can i write an application of this kind & run it on the emulator
> >>
> >>4)Which debug ROMS should i use for testing?
> >>
> >>5)I have started looking at InetLow example from palm.com
> >>is this a resonably good place to start with ?
> >>
> >>
> >>thanx for any replies
> >>Regards
> >>Ajit
> >>
> >>
> >>
> >>
> >>--
> >>For information on using the Palm Developer Forums, or to
> >>unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> >>
> >>
>
>
>



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

Reply via email to