> > I'm working on a TCP/IP Palm app that opens and closes *a lot* > of sockets. >the *one* thing that i've found that works is if I do this (and have >something like a 10-15 second delay) and it's totally gross, but...: > //set the socket's SO_LINGER option to "0", so it'll close immediately > //when we call NetLibSocketClose() > ltype.onOff = true; > ltype.time = 0; > retVal = NetLibSocketOptionSet(AppNetRefnum, sock, > netSocketOptLevelSocket, netSocketOptSockLinger, <ype, sizeof(ltype), -1, &err); I talked to a Palm engineer and he said that's what Palm's code does as a workaround. -Roger Flores
- Socket woes (netErrTooManyTCPConnections) Alexander Hinds
- Re: Socket woes (netErrTooManyTCPConnections) Chris Faherty
- Re: Socket woes (netErrTooManyTCPConnections) David_Mai
- RE: Socket woes (netErrTooManyTCPConnections) Alexander Hinds
- RE: Socket woes (netErrTooManyTCPConnections) Alexander Hinds
- RE: Socket woes (netErrTooManyTCPConnections) rflores
- RE: Socket woes (netErrTooManyTCPConnections) Alexander Hinds
- RE: Socket woes (netErrTooManyTCPConnections) Jim Schram
- RE: Socket woes (netErrTooManyTCPConnections) Chris Faherty
- RE: Socket woes (netErrTooManyTCPConnections) Alexander Hinds
- RE: Socket woes (netErrTooManyTCPConnections) Jim Schram
- Color bitmaps Alexander Hinds
- Re: Color bitmaps Bob Ebert
- sysAppLaunchCmdSyncNotify John Powers
- Re: sysAppLaunchCmdSyncNotify Christopher Hunt
- RE: Socket woes (netErrTooManyTCPConnections) Chris Faherty
