i've tried ICSv6, but there is something that puzzles me.. On startup i created around 1000 twsocket in to be put in a pool, but when i check it using process explorer (freeware from www.sysinternals.com ), the user handle is more than 1000, and when i create only 1 twsocket, the number of handle is only around 30. My question is, shouldn't it be that v6 use only one handle ? am i missing something here ?
also, is send, sendto, and sendstr method a "synchronized method" ?, the reason that i asked this is because it calls realsend, which calls something like wsocket_syncrhonized_send in wsocket.pas. I also noticed that wsocket_synchronized_* (replace * with send, connect, etc) is the second procedure beside getmessage that is using the most time (checked using aqtime4 profiler). thx On 9/24/06, Arno Garrels <[EMAIL PROTECTED]> wrote: > > samuel wrote: > > Is there anything else that i miss, that should be noted for high > > performance socket apps ? Please share your experience and thoughts.. > > At first you should move to V6. In V6 any TWSocket instances in > a thread use the same, single window. If you run TWSocketServer > it may also help to cache and reuse client TWSocket instances. > Running the listening socket in it's own worker thread _may help > as well if clients frequently get 10061 due to a full listenbacklog > queue. > > Arno Garrels > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be