Hi guys,
I have a program which gets the reference to the NetLib
through SysLibFind and calls the NetLibsocketOpen().
The code goes like this
/*********************************************
err = SysLibFind("Net.lib", &iAppNetRefnum);
if(err)
return ;
globals.fd = NetLibSocketOpen(iAppNetRefnum,netSocketAddrINET,
netSocketTypeStream,netSocketProtoIPTCP,
AppNetTimeout,&err);
if(err == netErrNotOpen)
return;
************************************/
SysLibFind returns the iAppNetRefnum as 6,
but NetLibSocketOpen gives me an error in 'err'
as 'netErrNotOpen' which means 'Net library not
open'.
My question is how is it possible that
SysLibFind() returns without errors ,getting
a reference number to the library and NetLibSocketOpen()
says that the lib is not loaded?????
"PLEASE NOTE I AM USING PODS TOOL WITH PROGRAM
RUNNING ON PALM OS GARNET 5.4 SIMULATOR."
Kaiser
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/