Are you sure that you are passing in the correct library refNum with each call?
Passing a bogus value will probably lead to a fatal exception.

Did you remember to look up the NetLib ref number first?

const Char * netLibNameP = "Net.lib";
err = SysLibFind(netLibNameP, &netLibRefNum);

Then make the NetLib calls (and don't forget to open netlib first).

err = NetLibOpen(netLibRefNum, ...)

See the developer support area on the Palm web site for doc and examples.

Tim

=============================================

Subject: Fatel Exception for NetLib functions
From: [EMAIL PROTECTED]
Date: Sat, 12 Feb 2000 12:04:50 +0530
X-Message-Number: 89


Hello everybody,
I am very much new to this mailing list...

I am writting an application for PalmV ( Palm OS Ver >3.0 ) in which I need
to deal with TCP/IP stack.

I am using Net.lib and using all  NetLib funtions...
But after opening the NetLib, all other fuctions gives me fatal
exception...
I do get AppNetRefnum = 3. but some error is there due to which
NetLibSocketOpen(),
NetLibConnectionRefresh()
NetLibSocketOpen()

all these functions gives Fatalexception err.. evn they doesnt return
anything, just directly, Fatal Exception.
No Memory manipulations r involved in this.. just simple fuctions r there.
Can anybody help me in this regard.

Thanx in Adv.
MAbhijit



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to