Hi,
     Well if Jim says it's so, it's so. :-) I'll do a quick look see 
in the bug database to see if this has been posted/fixed and if it 
hasn't been filed as a bug I'll file it.

        Cheers,
        Bruce.

At 18:19 +0000 7/11/00, Chris Faherty wrote:
>On 11-Jul-2000 Bruce Thompson wrote:
>
>>  Actually, it's a feature. :-)
>(snip)
>>  ... Once sufficient time has gone by to guarantee that no additional
>>  segments may be received then the socket is reclaimed.
>>
>>  This is standard TCP behavior, the difference here is that Palm OS
>>  has a very tight limit on the number of sockets that can be in this
>>  state.
>
>The bug I was referring to was that PalmOS waits forever and never terminates
>the linger state.  Try it.  I've waited over 20 minutes without bringing down
>the network connection and it never recycled any of the 16 sockets.
>
>>  Setting linger to zero will help, but won't eliminate the delay.
>
>Actually another Palm engineer (Jim Schram, thread "Socket woes
>(netErrTooManyTCPConnections)" from Jan 2000) looked through the PalmOS code
>a few months ago and posted that work-around since nobody else could figure
>out how to do it.  Setting linger to zero absolutely does work and I've run
>through sockets at rapid pace and never run out.  I like linger but it is
>supposed to be like 2 minutes or something and not infinite.  Perhaps this is
>fixed in OS 3.5.
>
>
>/* Chris Faherty <[EMAIL PROTECTED]>                 */
>/* Your Stock has crashed - you must now restart your system */
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, please
>see http://www.palmos.com/dev/tech/support/forums/

-- 
------------------------------------------------------------------------------
Bruce Thompson          | "Pinkie! Are you pondering what I'm pondering?"
Software Engineer       | "I think so Brain, but if they called them Sad
Partner Engineering     |  Meals kids wouldn't buy them!"
Palm, Inc.

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