I am developing Palm application (NOT PQA) to access the HTTPS pages.
I met problem with the "INetLibSockSettingSet" function, here are the 
pieces of code.

First open socket

         err = INetLibSockOpen (InetRefNum, InetH, inetSchemeHTTPS, &SockH);

and then set the socket to HTTPS

        err = INetLibSockSettingSet(InetRefNum, SockH,
inetSockSettingScheme, 
                                                  (void *)&schemehttps,
sizeof(UInt32));

the parameter schemehttps was set to

       UInt32   schemehttps = inetSchemeHTTPS;

But when code run to the line  "err = INetLibSockSettingSet(InetRefNum,
SockH ..............."
I got an err, the err = 5148

What's wrong here? the parameters are not set properly?

But when I use INetLibSockSettingSet to set "inetSockSettingFlags", it works
fine.

Any ideas? and suggestions?

Rocky

Reply via email to