I don't think that's it. I only have one socket open at a time and the failure is on the SysLibLoad at the start of the program. There is an error code for out of sockets.

The sequence is:

Open connection:
User cancels connection (appStop)
Connection is closed
Net.lib is unloaded
Program starts
SysLibLoad tries to load Net.lib and fails with 65505 error (-31 if it were signed)

JamesS
Michael Smith wrote:
One potential issue is that you're running out of ports. I think the Palm only has 4 ports and it takes a little while after you close the library for that resource to free up. So, if you load and close netlib more than 4 times in rapid succession, chances are good you'll get an error. Do you think this is what's happening?

On 2/6/07, *JamesSturdevant* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    I'm developing a program which will retrieve data from a web server and
    store it on the Palm. Under normal circumstances, it is working.

    I am stress testing it using Gremlins. After running a number of times,
    including cancellations of downloads, I get an error loading Net.lib.
    The error value is 65505 from SysLibLoad. I cannot find any references
    to such a value in any of the documentation or headers. Can anyone
    provide any insight?

    Thanks,
    JamesS

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



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

Reply via email to