[twsocket] ICS Message handlers

2010-08-12 Thread Eric Fleming Bonilha
Dear ICS Team, I found a problem in our software that is limiting the total ammount of TCP sockets that I can create. The problem that I found is that I can´t create many many instances of TWSocket, because of its internal message handler (I did many tests), here are my findinds: We use Alloc

Re: [twsocket] ICS Message handlers

2010-08-12 Thread Fastream Technologies
It will be interesting to hear an answer to this... Thank you, SZ On Thu, Aug 12, 2010 at 7:56 PM, Eric Fleming Bonilha wrote: > Dear ICS Team, > > I found a problem in our software that is limiting the total ammount of TCP > sockets that I can create. > > The problem that I found is that I can

Re: [twsocket] ICS Message handlers

2010-08-12 Thread Eric Fleming Bonilha
It will be interesting to hear an answer to this... Thank you, Why? Is that a silly question? :( I don´t know how ICS works internally, I´m just wondering what is happening ;) Eric -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cg

Re: [twsocket] ICS Message handlers

2010-08-12 Thread Arno Garrels
Eric, > I found a problem in our software that is limiting the total ammount > of TCP sockets that I can create. Did you test that in exactly the same environment, same box, both service or GUI applications, both non or RDP sessions etc.. ? Would you please provide a small test application that

Re: [twsocket] ICS Message handlers

2010-08-12 Thread Francois PIETTE
Windows limit the number of windows handles to 10.000. That's why ICS V7 is designed to use only one handler for a lot of TWSocket so that you can create a lot of sockets. Which OS are you using which allows creating 1.000.000 handles ? Classes.AllocateHwnd and TIcsWndHandler.AllocateHWnd both

Re: [twsocket] ICS Message handlers

2010-08-12 Thread Eric Fleming Bonilha
François, Windows limit the number of windows handles to 10.000. That's why ICS V7 is designed to use only one handler for a lot of TWSocket so that you can create a lot of sockets. Which OS are you using which allows creating 1.000.000 handles ? Windows 7 64bit with 4GB RAM, and it does allo

Re: [twsocket] ICS Message handlers

2010-08-12 Thread Fastream Technologies
No, it is not a silly question--I meant that I would second that question. SZ On Thu, Aug 12, 2010 at 8:40 PM, Eric Fleming Bonilha wrote: > It will be interesting to hear an answer to this... >> >> Thank you, >> >> > Why? Is that a silly question? :( > I don´t know how ICS works internally, I´m