Hi group, I've reviewed the many postings on this problem and am using:

 NetSocketLingerType linga;
 linga.onOff = true; //true means on
 linga.time = 0; //seconds.
 result = NetLibSocketOptionSet( netLib
           , socket
           , netSocketOptLevelSocket
           , netSocketOptSockLinger
           , &linga
           , sizeof(linga)
           , timeoutTicks
           , &err
           );
to force each socket to shut down.  I'm also using a SysTaskDelay(5) to
allow the OS a chance to work, but I continue to rec the
netErrTooManyTCPConnections error after about 16 iterations of a send loop.
Has there been any new insight on this?  I'm using Palm 5, Codewarrior 9,
and the Clie PEG NZ-90.  Thanks for any thoughts.



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

Reply via email to