Could someone please tell me what is wrong with this code wy the url i
reguested for is not being opened at all

   e = INetLibOpen(lRef,indexP,0,NULL,NULL,&inetHP);
   e = INetLibConfigIndexFromName(lRef,&config,&indexP);
   CharPtr urlP = "http://server/sukhdev/default.asp";

   e = INetLibURLOpen(lRef,inetHP,(unsigned char*)
urlP,NULL,&sockHP,evtWaitForever,0);
   e = INetLibURLGetInfo (lRef,inetHP,(unsigned char*)urlP,&urlInfoP);
   // here urlInfoP->version returns 0  does this imply that the url as not
been opened

    CharPtr data =  "name=sukhdev";
    e = INetLibSockHTTPReqSend(lRef,sockHP,data,StrLen(data),20);




-- 
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