Greetings  Sripriya

The error ""Directly Read from Low Memory" occurs usually because 
the code is writing to a unlocked memory location .

The function call NetLibRecieve writes data in to the locations 
specified by the 
buf1
(NetSocketAddrType*)&ServerAddr, 
(unsigned short *)sizeof(ServerAddr),
and 
&errP

arguments.

One of these chunks is being moved around by the OS thereby throwing 
the error.

To avoid this error it is better to use handles instead of specifying 
raw pointers.

Lock the handle prior to the function call 

Thanks
Santhosh M
_______________________________________________

Developers' Nation

You've got the questions; we've got the answers.

Visit http://www.devnation.net for Palm Developer Support
________________________________________________


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