I have never used the HTTP library (but I did write my own basic one). HTTP is a stateless protocol. After the GET is sent to the server, the server sends the page then closes the socket. Could this be the problem? Depending on how the library is designed you might need a separate HTTP connection for each GET request.
-Ted
At 09:35 AM 2/12/2003 -0500, you wrote:
Hello all,
I am attempting to use the HTTP library from palmgear
and their support is on vacation/absent until Feb 18th so I thought I'd
see if anyone here is using it to answer a problem.
What I have done is established an HTTPConnection in the constructor of my
main form and I delete it in the destructor.
This varies from the example code shown in that they establish an
HTTPConnection when the GO button is hit, then they free all memory when
the function returns.
I am trying to keep my httpconnection open at all times but I am getting
an errcode==1002 which just tells me errSocketNoConnected 1002. I am
clueless as to why the socket closed as I never called a close and the
object wasn't deleted.
Has anyone had success maintaining an HTTPConnection for many HTTPRequests
using this library?
--
Glenn Ford
National Library of Medicine
Bethesda, MD. USA
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Ted Beisler SPRUCE Computer Systems, Inc. (518) 783-6692 ext. 150 [EMAIL PROTECTED]
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
