[twsocket] connection limit?

2009-06-16 Thread Flavio Goncalves
I have an application dealing with GPRS connections, and there is a lot of
connections/disconnections going all the time.
The remote client connect to the server then send the authentication data.
Sometimes there are bad connections and the remote client connects but the
data never reach the server, and soon a timeout occurs and a new connection
attempt is made.
The server side have a timeout for incoming connections without
authentication, and when it triggers a peer.close is called server side.
After some time (4 or 5 days) the GPRS socket just stop accepting
connections, but other sockets (on other ports) continue working.
I did a function freeing the component and creating a new one with no
success, that port dont accept new connections yet.
Finally I close and then reopen the application, and everything is working
again.
Anyone have seen this before?
Im using Delphi 7, and this app runs on Windows XP Professional.
I wasnt using the latest ICS so im asking hoping this can be a know issue
someone can answer now, but I already download the V5 one and will install
it now.
Thanks
Flavio
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] connection limit?

2009-06-17 Thread Wilfried Mestdagh
Hello Flavio,

Not a known issue. But when it accept new connections after you restart
your application, maybe you are out of nonpaged memory? (sockets use
nonpaged).

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

Monday, June 15, 2009, 22:08, Flavio Goncalves wrote:

> I have an application dealing with GPRS connections, and there is a lot of
> connections/disconnections going all the time.
> The remote client connect to the server then send the authentication data.
> Sometimes there are bad connections and the remote client connects but the
> data never reach the server, and soon a timeout occurs and a new connection
> attempt is made.
> The server side have a timeout for incoming connections without
> authentication, and when it triggers a peer.close is called server side.
> After some time (4 or 5 days) the GPRS socket just stop accepting
> connections, but other sockets (on other ports) continue working.
> I did a function freeing the component and creating a new one with no
> success, that port dont accept new connections yet.
> Finally I close and then reopen the application, and everything is working
> again.
> Anyone have seen this before?
> Im using Delphi 7, and this app runs on Windows XP Professional.
> I wasnt using the latest ICS so im asking hoping this can be a know issue
> someone can answer now, but I already download the V5 one and will install
> it now.
> Thanks
> Flavio
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be