I'm completely new to HTTP / Netlib stuff, so I expect to be asking a
few newbie questions in the near future... Here's one for starters:

I have some sample code in which a call to NetUTCPOpen is used.
Something goes wrong, but I have no idea what as "this function does not
return specific reasons for failure if there is a failure". Furthermore,
the docs tell me that "This function is the equivalent of calling
NetLibSocketOpen()
and NetLibSocketConnect()" but looking at the argument lists of the
former and the latter two functions tells me otherwise... I figured out
all the arguments for NetLibSocketOpen - at least, I hope; I haven't
been able to test it.

But then NetLibSocketConnect... It wants a (pointer to a)
NetSocketAddrType as an argument. But what I have are a hostname, a
servicename and a portnumber...  Now with the hostname I can get a
NetHostInfoType struct using the function NetLibGetHostByName, but how
do I get from this to a NetSocketAddrType? The only similarity I see is
that the latter needs an arry of 14 unsigned chars and the former has a
pointer to a pointer to an unsigned char... And what's this
'family'-member?

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

Reply via email to